6.5_i386.sh 791 B

123456789101112131415161718192021222324
  1. # 6.5_i386
  2. INSTVER="6.5_i386"
  3. BASE_PKGS="setup nss glibc coreutils bash apt rootfiles vine-release libstdc++34"
  4. #APT_LINE="-o Dir::Etc::sourcelist=$VBOOTSTRAPDIR/sources.list.d/$INSTVER"
  5. vbootstrap_post()
  6. {
  7. echo $"running vbootstrap post install scripts for $INSTVER on $INSTDIR"
  8. cp -a /etc/resolv.conf $INSTDIR/etc/
  9. rm -f $INSTDIR/var/lib/rpm/*
  10. echo -n $" reinitializing rpm database... "
  11. chroot $INSTDIR rpm --initdb
  12. echo $"DONE."
  13. echo -n $" updating apt database... "
  14. chroot $INSTDIR apt-get -qq update
  15. echo $"DONE."
  16. echo -n $" rebuilding rpm database with chroot rpm... "
  17. chroot $INSTDIR apt-get -qq -y install ${BASE_PKGS} -o RPM::Options::=--justdb
  18. echo $"DONE."
  19. #echo $" installing vine-keyring... "
  20. #chroot $INSTDIR apt-get -qq -y --reinstall install vine-keyring
  21. #echo $"DONE."
  22. }