V8.13.384.2025.11.06
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m8s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m8s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
58
README.md
58
README.md
@@ -12,7 +12,7 @@ include_toc: true
|
|||||||
[](https://google.github.io/styleguide/shellguide.html)
|
[](https://google.github.io/styleguide/shellguide.html)
|
||||||
|
|
||||||
[](https://docs.gitea.com/)
|
[](https://docs.gitea.com/)
|
||||||
[](https://docs.gitea.com/)
|
[](https://docs.gitea.com/)
|
||||||
[](https://www.jetbrains.com/store/?section=personal&billing=yearly)
|
[](https://www.jetbrains.com/store/?section=personal&billing=yearly)
|
||||||
[](https://keepassxc.org/)
|
[](https://keepassxc.org/)
|
||||||
[](https://www.netcup.com/de)
|
[](https://www.netcup.com/de)
|
||||||
@@ -440,9 +440,9 @@ predictable script behavior.
|
|||||||
|
|
||||||
2. Preparation:
|
2. Preparation:
|
||||||
1. Ensure you are root.
|
1. Ensure you are root.
|
||||||
2. Create the build directory `mkdir /opt/livebuild`.
|
2. Create the build directory `mkdir /opt/cdlb` and the tmpfs secrets directory `mkdir /dev/shm/cdlb_secrets`.
|
||||||
3. Place your desired SSH public key in the `authorized_keys` file, for example, in the `/opt/gitea/CISS.debian.live.builder` directory.
|
3. Place your desired SSH public key in the `authorized_keys` file, for example, in the `/dev/shm/cdlb_secrets` directory.
|
||||||
4. Place your desired Password in the `password.txt` file, for example, in the `/opt/gitea/CISS.debian.live.builder` directory.
|
4. Place your desired Password in the `password.txt` file, for example, in the `/dev/shm/cdlb_secrets` directory.
|
||||||
5. Make any other changes you need to.
|
5. Make any other changes you need to.
|
||||||
|
|
||||||
3. Run the config builder script `./ciss_live_builder.sh` and the integrated `lb build` command (example):
|
3. Run the config builder script `./ciss_live_builder.sh` and the integrated `lb build` command (example):
|
||||||
@@ -450,21 +450,29 @@ predictable script behavior.
|
|||||||
````bash
|
````bash
|
||||||
chmod 0700 ./ciss_live_builder.sh
|
chmod 0700 ./ciss_live_builder.sh
|
||||||
timestamp=$(date -u +%Y-%m-%dT%H:%M:%S%z)
|
timestamp=$(date -u +%Y-%m-%dT%H:%M:%S%z)
|
||||||
./ciss_live_builder.sh --architecture amd64 \
|
./ciss_live_builder.sh \
|
||||||
--build-directory /opt/livebuild \
|
--architecture amd64 \
|
||||||
--change-splash hexagon \
|
--autobuild=6.16.3+deb13-amd64 \
|
||||||
--control "${timestamp}" \
|
--build-directory /opt/cdlb \
|
||||||
--cdi \
|
--cdi \
|
||||||
--debug \
|
--change-splash hexagon \
|
||||||
--dhcp-centurion \
|
--control "${timestamp}" \
|
||||||
--jump-host 10.0.0.128 [c0de:4711:0815:4242::1] [2abc:4711:0815:4242::1]/64 \
|
--debug \
|
||||||
--provider-netcup-ipv6 [c0de:4711:0815:4242::ffff] \
|
--dhcp-centurion \
|
||||||
--renice-priority "-19" \
|
--jump-host 10.0.0.128 [c0de:4711:0815:4242::1] [2abc:4711:0815:4242::1]/64 \
|
||||||
--reionice-priority 1 2 \
|
--key_age=keys.txt \
|
||||||
--root-password-file /opt/gitea/CISS.debian.live.builder/password.txt \
|
--key_luks=luks.txt \
|
||||||
--ssh-port 4242 \
|
--provider-netcup-ipv6 [c0de:4711:0815:4242::ffff] \
|
||||||
--ssh-pubkey /opt/gitea/CISS.debian.live.builder \
|
--reionice-priority 1 2 \
|
||||||
--trixie
|
--renice-priority "-19" \
|
||||||
|
--root-password-file /dev/shm/cdlb_secrets/password.txt \
|
||||||
|
--signing_key_fpr=98089A472CCF4601CD51D7C7095D36535296EA14B8DE92198723C4DC606E8F76 \
|
||||||
|
--signing_key_pass=signing_key_pass.txt \
|
||||||
|
--signing_key=signing_key.asc \
|
||||||
|
--ssh-port 4242 \
|
||||||
|
--ssh-pubkey /dev/shm/cdlb_secrets \
|
||||||
|
--sshfp \
|
||||||
|
--trixie
|
||||||
````
|
````
|
||||||
|
|
||||||
4. Locate your ISO in the `--build-directory`.
|
4. Locate your ISO in the `--build-directory`.
|
||||||
@@ -488,9 +496,9 @@ preview it or run it.
|
|||||||
|
|
||||||
2. Preparation:
|
2. Preparation:
|
||||||
1. Ensure you are root.
|
1. Ensure you are root.
|
||||||
2. Create the build directory `mkdir /opt/livebuild`.
|
2. Create the build directory `mkdir /opt/cdlb` and the tmpfs secrets directory `mkdir /dev/shm/cdlb_secrets`.
|
||||||
3. Place your desired SSH public key in the `authorized_keys` file, for example, in the `/opt/gitea/CISS.debian.live.builder` directory.
|
3. Place your desired SSH public key in the `authorized_keys` file, for example, in the `/dev/shm/cdlb_secrets` directory.
|
||||||
4. Place your desired Password in the `password.txt` file, for example, in the `/opt/gitea/CISS.debian.live.builder` directory.
|
4. Place your desired Password in the `password.txt` file, for example, in the `/dev/shm/cdlb_secrets` directory.
|
||||||
5. Copy and edit the sample and set your options (no spaces around commas in lists):
|
5. Copy and edit the sample and set your options (no spaces around commas in lists):
|
||||||
|
|
||||||
````bash
|
````bash
|
||||||
@@ -498,10 +506,10 @@ preview it or run it.
|
|||||||
````
|
````
|
||||||
|
|
||||||
````bash
|
````bash
|
||||||
BUILD_DIR=/opt/livebuild
|
BUILD_DIR=/opt/cdlb
|
||||||
ROOT_PASSWORD_FILE=/opt/gitea/CISS.debian.live.builder/password.txt
|
ROOT_PASSWORD_FILE=/dev/shm/cdlb_secrets/password.txt
|
||||||
SSH_PORT=4242
|
SSH_PORT=4242
|
||||||
SSH_PUBKEY=/root/.ssh
|
SSH_PUBKEY=/dev/shm/cdlb_secrets
|
||||||
|
|
||||||
# Optional
|
# Optional
|
||||||
PROVIDER_NETCUP_IPV6=2001:cdb::1
|
PROVIDER_NETCUP_IPV6=2001:cdb::1
|
||||||
|
|||||||
2
makefile
2
makefile
@@ -25,7 +25,7 @@ TIMESTAMP ?= $(shell date -u +%Y-%m-%dT%H-%M-%S)
|
|||||||
|
|
||||||
### Core parameters (safe defaults; override in config.mk, rename config.mk.sample to config.mk and apply the remaining values):
|
### Core parameters (safe defaults; override in config.mk, rename config.mk.sample to config.mk and apply the remaining values):
|
||||||
ARCH ?= amd64
|
ARCH ?= amd64
|
||||||
AUTOBUILD ?= 6.12.41+deb13-amd64
|
AUTOBUILD ?= 6.16.3+deb13-amd64
|
||||||
CONTROL ?= $(TIMESTAMP)
|
CONTROL ?= $(TIMESTAMP)
|
||||||
|
|
||||||
### Nice/ionice settings:
|
### Nice/ionice settings:
|
||||||
|
|||||||
Reference in New Issue
Block a user