feat(bootstrap): add post-install phase infrastructure and downloads
- commit
- 54d5fb4b973059258cb21d7983aeee2e2332a889
- author
- bnema · · 2025-10-19 18:10 UTC
- committer
- bnema · · 2025-10-19 20:52 UTC
- parent
- c8448cb
- signature
- unsigned
1 file · +9 -1
M install.sh +9 -1
| @@ -45,7 +45,7 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||
| 45 | 45 | GITHUB_RAW="$ARCHUP_RAW_URL" | |
| 46 | 46 | ||
| 47 | 47 | # Create directory structure | |
| 48 | - | mkdir -p "$ARCHUP_INSTALL"/{helpers,preflight,partitioning,base,config,boot,repos,presets} | |
| 48 | + | mkdir -p "$ARCHUP_INSTALL"/{helpers,preflight,partitioning,base,config,boot,repos,post-install,presets} | |
| 49 | 49 | ||
| 50 | 50 | echo "Downloading core files..." | |
| 51 | 51 | curl -sL "$GITHUB_RAW/install/bootstrap.sh" -o "$ARCHUP_INSTALL/bootstrap.sh" | |
| @@ -86,6 +86,11 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||
| 86 | 86 | curl -sL "$GITHUB_RAW/install/repos/$file" -o "$ARCHUP_INSTALL/repos/$file" | |
| 87 | 87 | done | |
| 88 | 88 | ||
| 89 | + | echo "Downloading post-install..." | |
| 90 | + | for file in all.sh boot-logo.sh verify.sh unmount.sh; do | |
| 91 | + | curl -sL "$GITHUB_RAW/install/post-install/$file" -o "$ARCHUP_INSTALL/post-install/$file" | |
| 92 | + | done | |
| 93 | + | ||
| 89 | 94 | echo "Downloading presets..." | |
| 90 | 95 | curl -sL "$GITHUB_RAW/install/presets/barebone.packages" -o "$ARCHUP_INSTALL/presets/barebone.packages" | |
| 91 | 96 | ||
| @@ -132,6 +137,9 @@ source "$ARCHUP_INSTALL/boot/all.sh" | |||
| 132 | 137 | # Repository setup (AUR + Chaotic) | |
| 133 | 138 | source "$ARCHUP_INSTALL/repos/all.sh" | |
| 134 | 139 | ||
| 140 | + | # Post-install (boot logo, unmount drives) | |
| 141 | + | source "$ARCHUP_INSTALL/post-install/all.sh" | |
| 142 | + | ||
| 135 | 143 | # ============================================================ | |
| 136 | 144 | # FUTURE PHASES (TO BE IMPLEMENTED) | |
| 137 | 145 | # ============================================================ | |
| @@ -45,7 +45,7 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||||
| 45 | GITHUB_RAW="$ARCHUP_RAW_URL" | 45 | GITHUB_RAW="$ARCHUP_RAW_URL" | ||
| 46 | 46 | ||||
| 47 | # Create directory structure | 47 | # Create directory structure | ||
| 48 | - | mkdir -p "$ARCHUP_INSTALL"/{helpers,preflight,partitioning,base,config,boot,repos,presets} | 48 | + | mkdir -p "$ARCHUP_INSTALL"/{helpers,preflight,partitioning,base,config,boot,repos,post-install,presets} |
| 49 | 49 | ||||
| 50 | echo "Downloading core files..." | 50 | echo "Downloading core files..." | ||
| 51 | curl -sL "$GITHUB_RAW/install/bootstrap.sh" -o "$ARCHUP_INSTALL/bootstrap.sh" | 51 | curl -sL "$GITHUB_RAW/install/bootstrap.sh" -o "$ARCHUP_INSTALL/bootstrap.sh" | ||
| @@ -86,6 +86,11 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||||
| 86 | curl -sL "$GITHUB_RAW/install/repos/$file" -o "$ARCHUP_INSTALL/repos/$file" | 86 | curl -sL "$GITHUB_RAW/install/repos/$file" -o "$ARCHUP_INSTALL/repos/$file" | ||
| 87 | done | 87 | done | ||
| 88 | 88 | ||||
| 89 | + | echo "Downloading post-install..." | |||
| 90 | + | for file in all.sh boot-logo.sh verify.sh unmount.sh; do | |||
| 91 | + | curl -sL "$GITHUB_RAW/install/post-install/$file" -o "$ARCHUP_INSTALL/post-install/$file" | |||
| 92 | + | done | |||
| 93 | + | ||||
| 89 | echo "Downloading presets..." | 94 | echo "Downloading presets..." | ||
| 90 | curl -sL "$GITHUB_RAW/install/presets/barebone.packages" -o "$ARCHUP_INSTALL/presets/barebone.packages" | 95 | curl -sL "$GITHUB_RAW/install/presets/barebone.packages" -o "$ARCHUP_INSTALL/presets/barebone.packages" | ||
| 91 | 96 | ||||
| @@ -132,6 +137,9 @@ source "$ARCHUP_INSTALL/boot/all.sh" | |||||
| 132 | # Repository setup (AUR + Chaotic) | 137 | # Repository setup (AUR + Chaotic) | ||
| 133 | source "$ARCHUP_INSTALL/repos/all.sh" | 138 | source "$ARCHUP_INSTALL/repos/all.sh" | ||
| 134 | 139 | ||||
| 140 | + | # Post-install (boot logo, unmount drives) | |||
| 141 | + | source "$ARCHUP_INSTALL/post-install/all.sh" | |||
| 142 | + | ||||
| 135 | # ============================================================ | 143 | # ============================================================ | ||
| 136 | # FUTURE PHASES (TO BE IMPLEMENTED) | 144 | # FUTURE PHASES (TO BE IMPLEMENTED) | ||
| 137 | # ============================================================ | 145 | # ============================================================ | ||