Text update to cross2 Chapter 4.
[linux_from_scratch.git] / make-aux-files.sh
blobad8bcea6fd7cd65e1adec8ed18869344325a4994
1 #!/bin/bash
3 rm -f lfs-bootscripts*.tar.?z*
5 # Get base file name and move bootscripts directory to that name
6 version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
7 mv bootscripts lfs-bootscripts-$version
9 # Create the tarball and clean up
10 tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version
11 mv lfs-bootscripts-$version bootscripts
13 #rm -f udev-config*.bz2
15 # Get file name and move udev config directory to that name
16 #version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
17 #mv udev-config $version
19 # Create the tarball and clean up
20 #tar -cjf $version.tar.bz2 --exclude .svn $version
21 #mv $version udev-config