# mkosi-rpi.conf [Config] Profiles=core,ubootsecurity,vfat,copykernelimage,commonparts,ubootscr,hybrid-mbr [Content] Bootable=no Packages=kernel,uboot,bcm2711-firmware,bcm2835-firmware SkeletonTrees=skeletons/rpi [Distribution] Architecture=arm64 [Build] Environment=REDPESK_BSP=rpi-bsp [Output] RepartDirectories=repart.d/rpi ### IMAGE: default # mkosi.conf.d/common-parts.conf [Output] RepartDirectories=repart.d/common [Match] Profiles=commonparts # mkosi.conf.d/copy-kernel-image.conf [Content] PostInstallationScripts=scripts/postinstall/50-copykernelimage.sh [Match] Profiles=copykernelimage # mkosi.conf.d/core.conf [Config] Profiles=core [Content] Packages=dnf,iproute,vim-minimal,openssh-server [Match] Profiles=|core # mkosi.conf.d/default-disk.conf [Config] Profiles=core [Include] Include=mkosi.conf.d/core.conf [Content] FinalizeScripts=scripts/finalize/50-manifest.sh PostInstallationScripts=scripts/postinstall/50-binding-firstboot.sh.chroot FinalizeScripts=scripts/finalize/50-boot.sh PostOutputScripts=scripts/postoutput/99-redpesk.sh [Output] Format=disk OutputDirectory=output [Match] Profiles=|core # mkosi.conf.d/core.conf [Config] Profiles=core [Content] Packages=dnf,iproute,vim-minimal,openssh-server [Match] Profiles=|core # mkosi.conf.d/default.conf [Content] RemoveFiles=/etc/yum.repos.d/mkosi.repo RootPassword=root # default redpesk OS features Locale=C.UTF-8 Timezone=Europe/Paris Keymap=fr PostInstallationScripts=scripts/postinstall/10-import-gpgkeys.sh.chroot [Distribution] Distribution=rocky Release=9 [Validation] Checksum=yes [Build] Environment=SYSTEMD_LOG_LEVEL=debug # mkosi.conf.d/helloworld-binding.conf [Config] Profiles=afb [Include] Include=mkosi.conf.d/afb.conf [Build] Environment=REDPESK_BINDING_LIST=helloworld-binding WithNetwork=yes [Content] Packages=platform-firstboot [Match] Profiles=|helloworld-binding Profiles=|minimal # mkosi.conf.d/afb.conf [Config] Profiles=afb [Include] Include=mkosi.conf.d/afb-smack.conf Include=mkosi.conf.d/afb-selinux.conf [Content] Packages=afb-app-manager,afb-app-manager-rpm,afb-binder [Match] Profiles=|afb # mkosi.conf.d/afb-smack.conf [Content] Packages=sec-lsm-manager-smack [TriggerMatch] Profiles=smack Profiles=afb # mkosi.conf.d/hybrid-mbr.conf [Config] Profiles=hybrid-mbr [Build] Environment=REDPESK_HYBRID_MBR=1 ### Preferred syntax: comma-separated GPT_INDEX:MBR_TYPE:ACTIVE entries. # Environment=REDPESK_HYBRID_MBR_PARTITIONS=1:0x83:0,2:0x0c:1 ### Legacy single-partition syntax (kept for backward compatibility). # Environment=REDPESK_HYBRID_MBR_PARTITION=1 # Environment=REDPESK_HYBRID_MBR_TYPE=0x0c # Environment=REDPESK_HYBRID_MBR_ACTIVE=1 # ACTIVE # 1 means the partition is active/bootable. # 0 means the partition is non-active. #Type MBR Signification # 0x0b FAT32 # 0x0c FAT32 LBA # 0x07 NTFS / exFAT # 0x82 Linux swap # 0x83 Linux filesystem # 0x8e Linux LVM # 0xef EFI System Partition # 0xee GPT protective partition [Match] Profiles=hybrid-mbr # mkosi.conf.d/minimal.conf [Config] Profiles=minimal Profiles=core Profiles=helloworld-binding [Include] Include=mkosi.conf.d/afb.conf Include=mkosi.conf.d/core.conf Include=mkosi.conf.d/helloworld-binding.conf [Content] Packages=NetworkManager,vim,wget,tar [Match] Profiles=minimal # mkosi.conf.d/helloworld-binding.conf [Config] Profiles=afb [Include] Include=mkosi.conf.d/afb.conf [Build] Environment=REDPESK_BINDING_LIST=helloworld-binding WithNetwork=yes [Content] Packages=platform-firstboot [Match] Profiles=|helloworld-binding Profiles=|minimal # mkosi.conf.d/smack.conf [Content] Packages=sec-smack-rules SkeletonTrees=skeletons/smack [Match] Profiles=smack # mkosi.conf.d/uboot-scr.conf [Content] Packages=uboot-tools RemovePackages=uboot-tools PostInstallationScripts=scripts/postinstall/60-uboot-scr.sh.chroot [TriggerMatch] Profiles=ubootscr # mkosi.conf.d/uboot-smack.conf [Content] Packages=uboot-smack [TriggerMatch] Profiles=smack Profiles=ubootsecurity # mkosi.conf.d/vfat.conf [Config] ConfigureScripts=scripts/configure/50-fix-fstab.sh [Build] Environment=SYSTEMD_REPART_MKFS_OPTIONS_VFAT="-S 512 -F 32" [Match] Profiles=vfat