source:
make-aux-files.sh@
2485dc3
Last change on this file since 2485dc3 was a1422e1, checked in by , 3 years ago | |
---|---|
|
|
File size: 682 bytes |
Rev | Line | |
---|---|---|
[1c48007] | 1 | #!/bin/bash |
2 | ||
[43194f0] | 3 | rm -f lfs-bootscripts*.tar.?z* |
[1c48007] | 4 | |
5 | # Get base file name and move bootscripts directory to that name | |
[a1422e1] | 6 | version=`grep "ENTITY lfs-bootscripts-version" packages.ent | head -n1| cut -d'"' -f2` |
[43c2ecf0] | 7 | mv bootscripts lfs-bootscripts-$version |
[1c48007] | 8 | |
9 | # Create the tarball and clean up | |
[43194f0] | 10 | tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version |
[3781c69] | 11 | mv lfs-bootscripts-$version bootscripts |
[1c48007] | 12 | |
[f896e21c] | 13 | #rm -f udev-config*.bz2 |
[1c48007] | 14 | |
15 | # Get file name and move udev config directory to that name | |
[f896e21c] | 16 | #version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2` |
17 | #mv udev-config $version | |
[1c48007] | 18 | |
19 | # Create the tarball and clean up | |
[f896e21c] | 20 | #tar -cjf $version.tar.bz2 --exclude .svn $version |
21 | #mv $version udev-config | |
[1c48007] | 22 |
Note:
See TracBrowser
for help on using the repository browser.