2008-06-03 22:51:14 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-06-30 20:25:49 +01:00
|
|
|
rm -f lfs-bootscripts*.tar.?z*
|
2008-06-03 22:51:14 +01:00
|
|
|
|
|
|
|
# Get base file name and move bootscripts directory to that name
|
|
|
|
version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
|
2011-05-31 04:36:33 +01:00
|
|
|
mv bootscripts lfs-bootscripts-$version
|
2008-06-03 22:51:14 +01:00
|
|
|
|
|
|
|
# Create the tarball and clean up
|
2019-06-30 20:25:49 +01:00
|
|
|
tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version
|
2011-05-31 04:36:33 +01:00
|
|
|
mv lfs-bootscripts-$version bootscripts
|
2008-06-03 22:51:14 +01:00
|
|
|
|
2012-07-16 18:19:20 +01:00
|
|
|
#rm -f udev-config*.bz2
|
2008-06-03 22:51:14 +01:00
|
|
|
|
|
|
|
# Get file name and move udev config directory to that name
|
2012-07-16 18:19:20 +01:00
|
|
|
#version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
|
|
|
|
#mv udev-config $version
|
2008-06-03 22:51:14 +01:00
|
|
|
|
|
|
|
# Create the tarball and clean up
|
2012-07-16 18:19:20 +01:00
|
|
|
#tar -cjf $version.tar.bz2 --exclude .svn $version
|
|
|
|
#mv $version udev-config
|
2008-06-03 22:51:14 +01:00
|
|
|
|