mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
23 lines
668 B
Bash
23 lines
668 B
Bash
|
#!/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
|
||
|
|