diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2008-06-03 21:51:14 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2008-06-03 21:51:14 +0000 |
commit | 1c4800743d22d675ccfa48364d8aa558e8b7407c (patch) | |
tree | ca4254cbe5dd5adb0ed8af1f87c26bc569403164 /make-aux-files.sh | |
parent | 9faa3e27afb932894ace74854fbb76631022446b (diff) |
Moved bootscripts and udev-config to BOOK
Updated Makefile to automatically generate bootscript and udev-config tarballs
Updated licesnse to be the same as BLFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'make-aux-files.sh')
-rwxr-xr-x | make-aux-files.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/make-aux-files.sh b/make-aux-files.sh new file mode 100755 index 000000000..c57352a9d --- /dev/null +++ b/make-aux-files.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +rm -f lfs-bootscripts*.tar.bz2 + +# 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.bz2 --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 + |