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
1.1 KiB

  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. build/${ROCKCFG_ID}/packages.db
  11. echo_status "Creating isofs.txt file .."
  12. cat << EOT > build/${ROCKCFG_ID}/isofs.txt
  13. DISK1 $admdir/cache/ ${ROCKCFG_SHORTID}/info/cache/
  14. DISK1 $admdir/cksums/ ${ROCKCFG_SHORTID}/info/cksums/
  15. DISK1 $admdir/dependencies/ ${ROCKCFG_SHORTID}/info/dependencies/
  16. DISK1 $admdir/descs/ ${ROCKCFG_SHORTID}/info/descs/
  17. DISK1 $admdir/flists/ ${ROCKCFG_SHORTID}/info/flists/
  18. DISK1 $admdir/md5sums/ ${ROCKCFG_SHORTID}/info/md5sums/
  19. DISK1 $admdir/packages/ ${ROCKCFG_SHORTID}/info/packages/
  20. EVERY build/${ROCKCFG_ID}/packages.db ${ROCKCFG_SHORTID}/packages.db
  21. SPLIT build/${ROCKCFG_ID}/pkgs/ ${ROCKCFG_SHORTID}/pkgs/
  22. EOT