Files
integ/ostree/initramfs-ostree/debian/all/patches/0001-Prevent-auto-expansion-of-fluxdata-partition.patch
Robert Church 69f8cdcf4a Add Trixie build support for ostree pkgs
This introduces some packages for a trixie specific build.

Changes include:
 - Add debian_trixie_pkg_dirs_std based off of debian_pkg_dirs and
   comment out all packages except for:
   - ostree/initramfs-ostree
   - ostree/mttyexec
   - ostree/ostree
   - ostree/ostree-upgrade-mgr
 - Move ostree/initramfs-ostree/debian to
   ostree/initramfs-ostree/debian/all
 - Move ostree/mttyexec/debian to ostree/mttyexec/debian/all
 - Move ostree/ostree/debian to ostree/ostree/debian/all
 - Move ostree/ostree-upgrade-mgr/debian to
   ostree/ostree-upgrade-mgr/debian/all

Test Plan:
 - PASS: bullseye: stx-init-env --rebuild, downloader, build-pkgs -a,
   build-image
 - PASS: trixie: stx-init-env --rebuild, downloader, build-pkgs -a,
   build-image

NOTE: build-image for trixie fails, but further integration is required.
      At this point it doesn't appear to be tooling related

Prototype: Concurrent Builds in master

Change-Id: I515a4eeb88f338091ca60e55a6b47f6ef4c21607
Depends-On: https://review.opendev.org/c/starlingx/root/+/946813
Story: NNNNNNN
Task: NNNNN
Signed-off-by: Robert Church <robert.church@windriver.com>
Signed-off-by: Scott Little <scott.little@windriver.com>
2025-07-09 14:58:10 -04:00

29 lines
833 B
Diff

From: Robert Church <robert.church@windriver.com>
Date: Sun, 30 Jan 2022 20:55:04 -0500
Subject: Prevent auto-expansion of fluxdata partition
Set VSZ=20480 to prevent the fluxdata parition from expanding to fill
all free space on the root disk.
For an AIO we want to provide free space for various customer driven
provisioning scenarios.
Signed-off-by: Robert Church <robert.church@windriver.com>
---
init-ostree.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init-ostree.sh b/init-ostree.sh
index 6017fcf..b6eacbf 100644
--- a/init-ostree.sh
+++ b/init-ostree.sh
@@ -32,7 +32,7 @@ ROOT_DELAY="0"
OSTREE_SYSROOT=""
OSTREE_BOOT_DEVICE="LABEL=otaboot"
OSTREE_LABEL_FLUXDATA="fluxdata"
-VSZ=0
+VSZ=20480
SKIP_BOOT_DIFF=""
ALLOW_RM_VAR=1
# The timeout (tenth of a second) for rootfs on low speed device