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"
|
||||
components: ["main", "contrib", "non-free"]
|
||||
enabled: true
|
||||
# Note: apt-ostree and bootc packages will be installed manually after tree creation
|
||||
packages:
|
||||
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"]
|
||||
excludes: []
|
||||
additional: [
|
||||
# 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:
|
||||
generate_container: true
|
||||
container_path: "/tmp/apt-ostree-container"
|
||||
container_path: "/home/joe/Projects/overseer/apt-ostree-container"
|
||||
export_formats:
|
||||
- "docker-archive"
|
||||
- "oci"
|
||||
build_dir: "/home/joe/Projects/overseer/apt-ostree-build"
|
||||
system:
|
||||
# Create required bootc directories
|
||||
directories:
|
||||
|
|
@ -83,6 +98,9 @@ postinstall:
|
|||
- "mkdir -p /sysroot /ostree /usr/lib/bootc /usr/lib/ostree"
|
||||
- "echo 'Setting up apt-ostree directories...'"
|
||||
- "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 'debian-minimal' > /etc/hostname"
|
||||
- "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