mirror of
https://github.com/avmaisak/LFS_Book.git
synced 2026-01-14 02:00:45 +00:00
Author: bdubbs Date: 30 июня 2019 г. 22:25:49 Message: Convert bootscripts and udev tarballs to xz ---- Modified : /trunk/BOOK/packages.ent Modified : /trunk/BOOK/Makefile Added : /trunk/BOOK/lfs-bootscripts-20190524.tar.xz Modified : /trunk/BOOK/aux-file-data.sh Modified : /trunk/BOOK/make-aux-files.sh
23 lines
672 B
Bash
Executable File
23 lines
672 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rm -f lfs-bootscripts*.tar.?z*
|
|
|
|
# Get base file name and move bootscripts directory to that name
|
|
version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
|
|
mv bootscripts lfs-bootscripts-$version
|
|
|
|
# Create the tarball and clean up
|
|
tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version
|
|
mv lfs-bootscripts-$version bootscripts
|
|
|
|
#rm -f udev-config*.bz2
|
|
|
|
# Get file name and move udev config directory to that name
|
|
#version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
|
|
#mv udev-config $version
|
|
|
|
# Create the tarball and clean up
|
|
#tar -cjf $version.tar.bz2 --exclude .svn $version
|
|
#mv $version udev-config
|
|
|