diff mbox series

[isar-cip-core,6/9] read-only-rootfs: Do not install tmp-fs with trixie anymore

Message ID 2a89d970944b690200e71386ebacab882543c8a9.1730977077.git.jan.kiszka@siemens.com (mailing list archive)
State New
Headers show
Series Enable early Debian trixie support, drop sid | expand

Commit Message

Jan Kiszka Nov. 7, 2024, 10:57 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Debian trixie gained tmpfs-based tmp by default, thus no longer needs
our manual activation via the tmp-fs recipe.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 classes/read-only-rootfs.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/classes/read-only-rootfs.bbclass b/classes/read-only-rootfs.bbclass
index fa56b2eb..9ebcadc2 100644
--- a/classes/read-only-rootfs.bbclass
+++ b/classes/read-only-rootfs.bbclass
@@ -15,7 +15,10 @@  INITRD_IMAGE = "${INITRAMFS_RECIPE}-${DISTRO}-${MACHINE}.initrd.img"
 do_image_wic[depends] += "${INITRAMFS_RECIPE}:do_build"
 
 IMAGE_INSTALL += "home-fs"
-IMAGE_INSTALL += "tmp-fs"
+
+IMAGE_INSTALL:append:buster   = " tmp-fs"
+IMAGE_INSTALL:append:bullseye = " tmp-fs"
+IMAGE_INSTALL:append:bookworm = " tmp-fs"
 
 # For pre bookworm images, empty /var is not usable
 IMAGE_INSTALL:append = " immutable-rootfs"