aboutsummaryrefslogtreecommitdiffstats
path: root/make-aux-files.sh
blob: 10cdf327c251792e207c700608b1df2bec4c706a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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 lsb-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 lsb-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