mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
985 B

  1. # This is the shortest possible target build.sh script. Some targets will
  2. # add code after calling pkgloop() or modify pkgloop's behavior by defining
  3. # a new pkgloop_action() function.
  4. #
  5. pkgloop
  6. echo_header "Finishing build."
  7. echo_status "Creating package database ..."
  8. admdir="build/${ROCKCFG_ID}/root/var/adm"
  9. create_package_db $admdir build/${ROCKCFG_ID}/pkgs
  10. echo_status "Creating isofs.txt file .."
  11. cat << EOT > build/${ROCKCFG_ID}/isofs.txt
  12. DISK1 $admdir/cache/ ${ROCKCFG_SHORTID}/info/cache/
  13. DISK1 $admdir/cksums/ ${ROCKCFG_SHORTID}/info/cksums/
  14. DISK1 $admdir/dependencies/ ${ROCKCFG_SHORTID}/info/dependencies/
  15. DISK1 $admdir/descs/ ${ROCKCFG_SHORTID}/info/descs/
  16. DISK1 $admdir/flists/ ${ROCKCFG_SHORTID}/info/flists/
  17. DISK1 $admdir/md5sums/ ${ROCKCFG_SHORTID}/info/md5sums/
  18. DISK1 $admdir/packages/ ${ROCKCFG_SHORTID}/info/packages/
  19. EVERY build/${ROCKCFG_ID}/packages.db ${ROCKCFG_SHORTID}/packages.db
  20. SPLIT build/${ROCKCFG_ID}/pkgs/ ${ROCKCFG_SHORTID}/pkgs/
  21. EOT