integ/ostree/initramfs-ostree/debian/patches/0003-debian-set-default-size-variables-in-install-script.patch
Robert Church 95a9d2d699 Make root and var filesystems LVM based
Add two patches to update the init and lat-installer scripts to
- fully parameterize ostree boot and root devices for A and B locations
  so that devices can be specified
- add support for specifying an ostree var device that will be used for
  the dynamic R/W data. This was previously specified by a hard coded
  'LABEL=fluxdata' partition.

Rename patches 0003-0008 as former patch 0002 was removed with a
previous commit.

Test Plan:
- PASS: BIOS AIO-SX
- PASS: UEFI AIO-SX
- PASS: BIOS 2+2+2
- SKIP: secure boot, not ready for Stx8.0
- PASS: AIO-SX upgrade
- PASS: duplex upgrade
- PASS: DC subcloud install (virtual test)

Change-Id: I9fbe3fc89b05743b9c6090c05d3d011e2ba48eda
Story: 2010444
Task: 46883
Signed-off-by: Robert Church <robert.church@windriver.com>
2022-11-22 12:51:47 +02:00

35 lines
924 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 1 Mar 2022 14:28:01 +0800
Subject: debian: set default size variables in install script
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
If dont specify the size variables (FSZ BSZ RSZ VSZ) on the
grub command line nor the --inst-flux option in the lat-disk command.
Have default size variables in install script
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
init-ostree-install.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/init-ostree-install.sh b/init-ostree-install.sh
index 51fb6a0..79496e0 100644
--- a/init-ostree-install.sh
+++ b/init-ostree-install.sh
@@ -528,9 +528,9 @@ fatal() {
# default values must match ostree-settings.inc
BLM=2506
FSZ=32
-BSZ=200
-RSZ=1400
-VSZ=0
+BSZ=512
+RSZ=20480
+VSZ=20480
# end values from ostree-settings.inc
LUKS=0
BIOSPLUSEFI=0