2008-06-03 22:51:14 +01:00
|
|
|
#!/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`
|
2011-05-22 23:20:22 +01:00
|
|
|
mv lsb-bootscripts lfs-bootscripts-$version
|
2008-06-03 22:51:14 +01:00
|
|
|
|
|
|
|
# Create the tarball and clean up
|
|
|
|
tar -cjf lfs-bootscripts-$version.tar.bz2 --exclude .svn lfs-bootscripts-$version
|
2011-05-22 23:20:22 +01:00
|
|
|
mv lfs-bootscripts-$version lsb-bootscripts
|
2008-06-03 22:51:14 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|