Bare is dead
This commit is contained in:
1 parent
69ab7e1c41
commit
67a980f77e
4 files changed
-6
No files matched your search
@@ -14,7 +14,6 @@ You can customize the repositories used during the build process by passing in v
|
||||
- `OMARCHY_CONFIGURATOR_REF` - Git ref (branch/tag) for the configurator (default: `master`)
|
||||
- `OMARCHY_INSTALLER_REPO` - GitHub repository for the installer (default: `basecamp/omarchy`)
|
||||
- `OMARCHY_INSTALLER_REF` - Git ref (branch/tag) for the installer (default: `master`)
|
||||
- `OMARCHY_BARE` - Set to `true` for bare/minimal installation (default: empty/false)
|
||||
|
||||
Example usage:
|
||||
```bash
|
||||
|
||||
@@ -24,8 +24,6 @@ OMARCHY_CONFIGURATOR_REF="${OMARCHY_CONFIGURATOR_REF:-master}"
|
||||
OMARCHY_INSTALLER_REPO="${OMARCHY_INSTALLER_REPO:-basecamp/omarchy}"
|
||||
OMARCHY_INSTALLER_REF="${OMARCHY_INSTALLER_REF:-master}"
|
||||
|
||||
OMARCHY_BARE="${OMARCHY_BARE:-}"
|
||||
|
||||
# Run the builder
|
||||
docker run --rm \
|
||||
--privileged \
|
||||
@@ -33,7 +31,6 @@ docker run --rm \
|
||||
-e "OMARCHY_CONFIGURATOR_REF=$OMARCHY_CONFIGURATOR_REF" \
|
||||
-e "OMARCHY_INSTALLER_REPO=$OMARCHY_INSTALLER_REPO" \
|
||||
-e "OMARCHY_INSTALLER_REF=$OMARCHY_INSTALLER_REF" \
|
||||
-e "OMARCHY_BARE=$OMARCHY_BARE" \
|
||||
-v "$BUILD_RELEASE_PATH/:/out/" \
|
||||
-v "$BUILD_ROOT/$BUILD_SCRIPT:/$BUILD_SCRIPT:ro" \
|
||||
-v "$BUILD_ROOT/archiso:/archiso:ro" \
|
||||
|
||||
@@ -11,7 +11,6 @@ chroot_bash() {
|
||||
HOME="/home/$OMARCHY_USER" \
|
||||
OMARCHY_REPO="$(<omarchy_installer_repo.txt)" \
|
||||
OMARCHY_REF="$(<omarchy_installer_ref.txt)" \
|
||||
OMARCHY_BARE="$(<omarchy_bare.txt)" \
|
||||
/bin/bash "$@"
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ curl -fsSL -o "airootfs/root/configurator" \
|
||||
|
||||
echo "$OMARCHY_INSTALLER_REPO" >airootfs/root/omarchy_installer_repo.txt
|
||||
echo "$OMARCHY_INSTALLER_REF" >airootfs/root/omarchy_installer_ref.txt
|
||||
echo "$OMARCHY_BARE" >airootfs/root/omarchy_bare.txt
|
||||
|
||||
# Avoid using reflector for mirror identification as we are relying on the global CDN
|
||||
rm "airootfs/etc/systemd/system/multi-user.target.wants/reflector.service"
|
||||
|
||||
Reference in new issue
Block a user