who knows
This commit is contained in:
parent
6f91ab6ede
commit
defad1dce0
2 changed files with 73 additions and 3 deletions
|
|
@ -15,16 +15,31 @@ repositories:
|
||||||
suite: "trixie-security"
|
suite: "trixie-security"
|
||||||
components: ["main", "contrib", "non-free"]
|
components: ["main", "contrib", "non-free"]
|
||||||
enabled: true
|
enabled: true
|
||||||
|
# Note: apt-ostree and bootc packages will be installed manually after tree creation
|
||||||
packages:
|
packages:
|
||||||
base: ["systemd", "systemd-sysv", "dbus", "dbus-user-session", "sudo", "passwd", "bash", "coreutils", "util-linux", "procps", "sysvinit-utils"]
|
base: ["systemd", "systemd-sysv", "dbus", "dbus-user-session", "sudo", "passwd", "bash", "coreutils", "util-linux", "procps", "sysvinit-utils"]
|
||||||
additional: ["ostree", "less", "vim-tiny", "wget", "curl", "ca-certificates", "gnupg", "iproute2", "net-tools", "openssh-client", "openssh-server", "htop", "rsync", "tar", "gzip", "unzip", "grub-pc", "grub-common", "linux-image-amd64", "linux-headers-amd64"]
|
additional: [
|
||||||
excludes: []
|
# Core OSTree packages (available in Debian)
|
||||||
|
"ostree", "ostree-boot",
|
||||||
|
# Initramfs and boot
|
||||||
|
"dracut-core", "grub-pc", "grub-common", "linux-image-amd64", "linux-headers-amd64",
|
||||||
|
# Container and storage
|
||||||
|
"podman", "skopeo", "cloud-guest-utils", "systemd-container",
|
||||||
|
# Storage and encryption
|
||||||
|
"cryptsetup", "cryptsetup-bin", "lvm2", "gdisk", "kpartx", "mdadm",
|
||||||
|
# System utilities
|
||||||
|
"less", "vim-tiny", "wget", "curl", "ca-certificates", "gnupg",
|
||||||
|
"iproute2", "net-tools", "openssh-client", "openssh-server",
|
||||||
|
"htop", "rsync", "tar", "gzip", "unzip", "zstd"
|
||||||
|
]
|
||||||
|
excludes: ["initramfs-tools"]
|
||||||
output:
|
output:
|
||||||
generate_container: true
|
generate_container: true
|
||||||
container_path: "/tmp/apt-ostree-container"
|
container_path: "/home/joe/Projects/overseer/apt-ostree-container"
|
||||||
export_formats:
|
export_formats:
|
||||||
- "docker-archive"
|
- "docker-archive"
|
||||||
- "oci"
|
- "oci"
|
||||||
|
build_dir: "/home/joe/Projects/overseer/apt-ostree-build"
|
||||||
system:
|
system:
|
||||||
# Create required bootc directories
|
# Create required bootc directories
|
||||||
directories:
|
directories:
|
||||||
|
|
@ -83,6 +98,9 @@ postinstall:
|
||||||
- "mkdir -p /sysroot /ostree /usr/lib/bootc /usr/lib/ostree"
|
- "mkdir -p /sysroot /ostree /usr/lib/bootc /usr/lib/ostree"
|
||||||
- "echo 'Setting up apt-ostree directories...'"
|
- "echo 'Setting up apt-ostree directories...'"
|
||||||
- "mkdir -p /etc/apt-ostree /var/lib/apt-ostree /root/.ssh"
|
- "mkdir -p /etc/apt-ostree /var/lib/apt-ostree /root/.ssh"
|
||||||
|
- "echo 'Configuring kernel install for OSTree...'"
|
||||||
|
- "echo 'layout=ostree' > /usr/lib/kernel/install.conf"
|
||||||
|
- "echo 'apt-ostree and bootc packages installed from Particle OS repository'"
|
||||||
- "echo 'Setting hostname to debian-minimal'"
|
- "echo 'Setting hostname to debian-minimal'"
|
||||||
- "echo 'debian-minimal' > /etc/hostname"
|
- "echo 'debian-minimal' > /etc/hostname"
|
||||||
- "echo 'Setting locale to en_US.UTF-8'"
|
- "echo 'Setting locale to en_US.UTF-8'"
|
||||||
|
|
|
||||||
52
treefiles/debian-minimal-working.json
Normal file
52
treefiles/debian-minimal-working.json
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
"ref": "debian/14/x86_64/minimal",
|
||||||
|
"packages": [
|
||||||
|
"systemd",
|
||||||
|
"systemd-sysv",
|
||||||
|
"dbus",
|
||||||
|
"dbus-user-session",
|
||||||
|
"sudo",
|
||||||
|
"passwd",
|
||||||
|
"bash",
|
||||||
|
"coreutils",
|
||||||
|
"util-linux",
|
||||||
|
"procps",
|
||||||
|
"sysvinit-utils",
|
||||||
|
"ostree",
|
||||||
|
"ostree-boot",
|
||||||
|
"dracut-core",
|
||||||
|
"grub-pc",
|
||||||
|
"grub-common",
|
||||||
|
"linux-image-amd64",
|
||||||
|
"linux-headers-amd64",
|
||||||
|
"podman",
|
||||||
|
"skopeo",
|
||||||
|
"cloud-guest-utils",
|
||||||
|
"systemd-container",
|
||||||
|
"cryptsetup",
|
||||||
|
"cryptsetup-bin",
|
||||||
|
"lvm2",
|
||||||
|
"gdisk",
|
||||||
|
"kpartx",
|
||||||
|
"mdadm",
|
||||||
|
"less",
|
||||||
|
"vim-tiny",
|
||||||
|
"wget",
|
||||||
|
"curl",
|
||||||
|
"ca-certificates",
|
||||||
|
"gnupg",
|
||||||
|
"iproute2",
|
||||||
|
"net-tools",
|
||||||
|
"openssh-client",
|
||||||
|
"openssh-server",
|
||||||
|
"htop",
|
||||||
|
"rsync",
|
||||||
|
"tar",
|
||||||
|
"gzip",
|
||||||
|
"unzip",
|
||||||
|
"zstd"
|
||||||
|
],
|
||||||
|
"modules": [],
|
||||||
|
"repos": [],
|
||||||
|
"bootc": true
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue