New paste Repaste Download
#!/bin/bash
zprint() { echo -e "\033[1;32m *** $1 *** \033[0m"; }
stars() { printf '%.0s*' {1..100}; printf '\n'; }
case "$1" in
    "1")
        printf "%s " stage1/{100..121}-*; echo
        ;;
    "2")
        #requires chroot
        printf "%s " stage1/{201..208}-*.zbc; echo
        ;;
    "3")
        #requires chroot
        ZBUILD_PASSWORD="${2:-lfsroot}"
        echo "root:${ZBUILD_PASSWORD}"
        printf "%s " stage2/{001..079}-*.zbc; echo
        ;;
    "4")
        #requires chroot
        printf "%s " stage2/{100..107}-*.sh; echo
        ;;
    "5")
        #requires chroot
        printf "%s " stage2/{110..119}-*.zbc; echo
        ;;
    "6")
        # requires chroot
        # finalize
        printf "%s " stage2/{200..201}-*.zbc; echo
        ;;
    *)
        zprint "Invalid Option!"
        zprint "Usage: $0 1 - Primary Build Not in Chroot"
        zprint " The Following Options Require chroot "
        zprint " $0 2 - Extra Temporary Packages"
        zprint " $0 3 {password} - Main Build System"
        zprint " $0 4 - Finalize Scripts"
        zprint " $0 5 - Extra Packages"
        zprint " $0 6 - Kernel and Grub Setup"
esac
Filename: build_stage.sh. Size: 1kb. View raw, , hex, or download this file.

This paste expires on 2025-07-26 15:51:18.347043. Pasted through web.