make-aux-files.sh 673 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. rm -f lfs-bootscripts*.tar.bz2
  3. # Get base file name and move bootscripts directory to that name
  4. version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
  5. mv bootscripts lfs-bootscripts-$version
  6. # Create the tarball and clean up
  7. tar -cjf lfs-bootscripts-$version.tar.bz2 --exclude .svn lfs-bootscripts-$version
  8. mv lfs-bootscripts-$version bootscripts
  9. #rm -f udev-config*.bz2
  10. # Get file name and move udev config directory to that name
  11. #version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
  12. #mv udev-config $version
  13. # Create the tarball and clean up
  14. #tar -cjf $version.tar.bz2 --exclude .svn $version
  15. #mv $version udev-config