Skip to content

Make particle-os buildable in OBS #24

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

Open
wants to merge 4 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
6 changes: 5 additions & 1 deletion 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,7 +12,7 @@ Incremental=yes

[Output]
OutputDirectory=mkosi.output
SplitArtifacts=uki,partitions
SplitArtifacts=uki
Format=disk
ImageId=ParticleOS
ManifestFormat=json
Expand Down Expand Up @@ -103,3 +104,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
ca-certificates
cryptsetup-bin
debian-archive-keyring
Expand All @@ -26,8 +73,8 @@ Packages=
libpwquality1
libqrencode4
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,14 +1,59 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# needssslcertforbuild

[Match]
Distribution=fedora

[Distribution]
Release=rawhide

[Content]
Packages=
bash-color-prompt
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 @@ -22,6 +67,7 @@ Packages=
kernel-core
libcap-ng-utils
libfido2
lvm2
man-db
openssh
openssh-clients
Expand All @@ -46,6 +92,7 @@ Packages=
tpm2-tss
veritysetup
vim-minimal
xfsprogs

VolatilePackages=
systemd-boot
Expand Down
4 changes: 4 additions & 0 deletions mkosi.images/netesp/mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ Profiles=netesp
Format=esp
# UEFI insists on the .img suffix for disk images to boot from, hence let's combine our usual suffix with UEFI's
OutputExtension=raw.img
Output=netesp_%a
ImageVersion=

[Content]
Bootable=yes

[Include]
Include=mkosi-obs
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