feat(bootstrap): add post-boot phase and preflight/identify.sh downloads
- commit
- 1fa4f8ed4d894e4e2bd46fe88780b9a83084836a
- author
- bnema · · 2025-10-19 21:15 UTC
- committer
- bnema · · 2025-10-19 17:26 UTC
- parent
- 8a17af8
- signature
- unsigned
1 file · +8 -2
M install.sh +8 -2
| @@ -57,7 +57,7 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||
| 57 | 57 | done | |
| 58 | 58 | ||
| 59 | 59 | echo "Downloading preflight..." | |
| 60 | - | for file in all.sh guards.sh begin.sh detect-environment.sh; do | |
| 60 | + | for file in all.sh guards.sh begin.sh identify.sh detect-environment.sh; do | |
| 61 | 61 | curl -sL "$GITHUB_RAW/install/preflight/$file" -o "$ARCHUP_INSTALL/preflight/$file" | |
| 62 | 62 | done | |
| 63 | 63 | ||
| @@ -87,10 +87,16 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||
| 87 | 87 | done | |
| 88 | 88 | ||
| 89 | 89 | echo "Downloading post-install..." | |
| 90 | - | for file in all.sh boot-logo.sh verify.sh unmount.sh; do | |
| 90 | + | for file in all.sh boot-logo.sh snapper.sh verify.sh unmount.sh; do | |
| 91 | 91 | curl -sL "$GITHUB_RAW/install/post-install/$file" -o "$ARCHUP_INSTALL/post-install/$file" | |
| 92 | 92 | done | |
| 93 | 93 | ||
| 94 | + | echo "Downloading post-boot..." | |
| 95 | + | mkdir -p "$ARCHUP_INSTALL/post-boot" | |
| 96 | + | for file in all.sh snapper.sh ssh-keygen.sh archup-first-boot.service; do | |
| 97 | + | curl -sL "$GITHUB_RAW/install/post-boot/$file" -o "$ARCHUP_INSTALL/post-boot/$file" | |
| 98 | + | done | |
| 99 | + | ||
| 94 | 100 | echo "Downloading presets..." | |
| 95 | 101 | curl -sL "$GITHUB_RAW/install/presets/barebone.packages" -o "$ARCHUP_INSTALL/presets/barebone.packages" | |
| 96 | 102 | ||
| @@ -57,7 +57,7 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||||
| 57 | done | 57 | done | ||
| 58 | 58 | ||||
| 59 | echo "Downloading preflight..." | 59 | echo "Downloading preflight..." | ||
| 60 | - | for file in all.sh guards.sh begin.sh detect-environment.sh; do | 60 | + | for file in all.sh guards.sh begin.sh identify.sh detect-environment.sh; do |
| 61 | curl -sL "$GITHUB_RAW/install/preflight/$file" -o "$ARCHUP_INSTALL/preflight/$file" | 61 | curl -sL "$GITHUB_RAW/install/preflight/$file" -o "$ARCHUP_INSTALL/preflight/$file" | ||
| 62 | done | 62 | done | ||
| 63 | 63 | ||||
| @@ -87,10 +87,16 @@ if [ ! -d "$ARCHUP_INSTALL" ]; then | |||||
| 87 | done | 87 | done | ||
| 88 | 88 | ||||
| 89 | echo "Downloading post-install..." | 89 | echo "Downloading post-install..." | ||
| 90 | - | for file in all.sh boot-logo.sh verify.sh unmount.sh; do | 90 | + | for file in all.sh boot-logo.sh snapper.sh verify.sh unmount.sh; do |
| 91 | curl -sL "$GITHUB_RAW/install/post-install/$file" -o "$ARCHUP_INSTALL/post-install/$file" | 91 | curl -sL "$GITHUB_RAW/install/post-install/$file" -o "$ARCHUP_INSTALL/post-install/$file" | ||
| 92 | done | 92 | done | ||
| 93 | 93 | ||||
| 94 | + | echo "Downloading post-boot..." | |||
| 95 | + | mkdir -p "$ARCHUP_INSTALL/post-boot" | |||
| 96 | + | for file in all.sh snapper.sh ssh-keygen.sh archup-first-boot.service; do | |||
| 97 | + | curl -sL "$GITHUB_RAW/install/post-boot/$file" -o "$ARCHUP_INSTALL/post-boot/$file" | |||
| 98 | + | done | |||
| 99 | + | ||||
| 94 | echo "Downloading presets..." | 100 | echo "Downloading presets..." | ||
| 95 | curl -sL "$GITHUB_RAW/install/presets/barebone.packages" -o "$ARCHUP_INSTALL/presets/barebone.packages" | 101 | curl -sL "$GITHUB_RAW/install/presets/barebone.packages" -o "$ARCHUP_INSTALL/presets/barebone.packages" | ||
| 96 | 102 | ||||