Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make particle-os buildable in OBS #24

Open
wants to merge 7 commits into
base: obs
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[Config]
MinimumVersion=26~devel
Profiles=netesp

[Build]
ToolsTree=default
Expand All @@ -11,14 +12,14 @@ Incremental=yes

[Output]
OutputDirectory=mkosi.output
SplitArtifacts=uki,partitions
SplitArtifacts=uki
Format=disk
ImageId=ParticleOS
ManifestFormat=json
Output=%i_%v_%a
Output=%i_%a_%v

[Content]
UnifiedKernelImageFormat=%i_%v_%a
UnifiedKernelImageFormat=%i_%a_%v
KernelCommandLine=rw audit=0
KernelModulesInitrdExclude=.*
KernelModulesInitrdInclude=default
Expand Down Expand Up @@ -90,3 +91,6 @@ Credentials=
tty.console.login.noauth=yes
tty.virtual.tty1.agetty.autologin=particleos
tty.virtual.tty1.login.noauth=yes

[Include]
Include=mkosi-obs
57 changes: 52 additions & 5 deletions mkosi.conf.d/20-debian/mkosi.conf
Original file line number Diff line number Diff line change
@@ -1,15 +1,62 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# needssslcertforbuild

[Match]
Distribution=debian

[Distribution]
Release=trixie
Distribution=|debian
Distribution=|ubuntu

[Content]
Packages=
acl
attr
bash-completion
btrfs-progs
coreutils
cpio
curl
dbus-broker
diffutils
dmidecode
dosfstools
erofs-utils
findutils
fish
fwupd
gdb
grep
gzip
jq
kbd
kmod
less
man
mtools
nano
nftables
nvme-cli
opensc
openssl
p11-kit
pciutils
pkcs11-provider
sed
socat
strace
systemd
tar
tree
udev
unzip
usbutils
util-linux
which
wireguard-tools
xxd
yubikey-manager
zstd
apt
bpftool
bsdutils
cryptsetup-bin
debian-archive-keyring
fido2-tools
Expand All @@ -22,8 +69,8 @@ Packages=
libnss-systemd
libpam-systemd
linux-image-generic
linux-perf
login
lvm2
openssh-client
openssh-server
passwd
Expand Down
53 changes: 50 additions & 3 deletions mkosi.conf.d/20-fedora/mkosi.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,58 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# needssslcertforbuild

[Match]
Distribution=fedora

[Distribution]
Release=rawhide

[Content]
Packages=
acl
attr
bash-completion
btrfs-progs
coreutils
cpio
curl
dbus-broker
diffutils
dmidecode
dosfstools
erofs-utils
findutils
fish
fwupd
gdb
grep
gzip
jq
kbd
kmod
less
man
mtools
nano
nftables
nvme-cli
opensc
openssl
p11-kit
pciutils
pkcs11-provider
sed
socat
strace
systemd
tar
tree
udev
unzip
usbutils
util-linux
which
wireguard-tools
xxd
yubikey-manager
zstd
bpftool
cryptsetup
distribution-gpg-keys
Expand All @@ -21,6 +66,7 @@ Packages=
kernel-core
libcap-ng-utils
libfido2
lvm2
man-db
openssh
openssh-clients
Expand All @@ -45,3 +91,4 @@ Packages=
tpm2-tss
veritysetup
vim-minimal
xfsprogs
3 changes: 3 additions & 0 deletions mkosi.images/netesp/mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ ImageVersion=

[Content]
Bootable=yes

[Include]
Include=mkosi-obs
10 changes: 10 additions & 0 deletions mkosi.images/netesp/mkosi.conf.d/debian.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# needssslcertforbuild

[Match]
Distribution=|debian
Distribution=|ubuntu

[Content]
Packages=
systemd-boot-efi
1 change: 1 addition & 0 deletions mkosi.images/netesp/mkosi.conf.d/fedora.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# needssslcertforbuild

[Match]
Distribution=fedora
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title Debian ParticleOS Current from OBS (Network Boot)
title Debian Testing ParticleOS Current from OBS (Network Boot)
architecture x64
uki-url http://downloadcontentcdn.opensuse.org/repositories/system:/systemd/Debian_Testing_images/ParticleOS-x86-64.efi
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title Debian ParticleOS Current from OBS (Network Boot)
title Fedora 41 ParticleOS Current from OBS (Network Boot)
architecture x64
uki-url http://downloadcontentcdn.opensuse.org/repositories/system:/systemd/Fedora_41_images/ParticleOS-x86-64.efi
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title Debian ParticleOS Current from OBS (Network Boot)
title Fedora Rawhide ParticleOS Current from OBS (Network Boot)
architecture x64
uki-url http://downloadcontentcdn.opensuse.org/repositories/system:/systemd/Fedora_Rawhide_images/ParticleOS-x86-64.efi