diff --git a/0004-KubeOS-increase-the-space-of-the-boot-partition.patch b/0004-KubeOS-increase-the-space-of-the-boot-partition.patch new file mode 100644 index 0000000..1317912 --- /dev/null +++ b/0004-KubeOS-increase-the-space-of-the-boot-partition.patch @@ -0,0 +1,37 @@ +From 1bf97e2943993932dbba997e68a66f66ed1205e0 Mon Sep 17 00:00:00 2001 +From: liyuanr +Date: Thu, 28 Apr 2022 15:37:29 +0800 +Subject: [PATCH] KubeOS:increase the space of the boot partition + +Since openEuler 22.03-LTS, the space required by grub-related +packages is increased. Therefore, the space of the boot partition +is not enough. Therefore, the space of the boot partition needs to +be increased + +Signed-off-by: liyuanr +--- + scripts/generate.sh | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/scripts/generate.sh b/scripts/generate.sh +index e59dd8c..0bfe6c5 100644 +--- a/scripts/generate.sh ++++ b/scripts/generate.sh +@@ -221,10 +221,10 @@ function create_img() { + rm -f system.img update.img + qemu-img create system.img ${IMG_SIZE}G + parted system.img -- mklabel msdos +- parted system.img -- mkpart primary fat16 1MiB 60MiB +- parted system.img -- mkpart primary ext4 60MiB 2160MiB +- parted system.img -- mkpart primary ext4 2160MiB 4260MiB +- parted system.img -- mkpart primary ext4 4260MiB 100% ++ parted system.img -- mkpart primary fat16 1MiB 100MiB ++ parted system.img -- mkpart primary ext4 100MiB 2200MiB ++ parted system.img -- mkpart primary ext4 2200MiB 4300MiB ++ parted system.img -- mkpart primary ext4 4300MiB 100% + + local device=$(losetup -f) + losetup "${device}" system.img +-- +2.33.0.windows.2 + diff --git a/KubeOS.spec b/KubeOS.spec index 51c182f..03b635d 100644 --- a/KubeOS.spec +++ b/KubeOS.spec @@ -2,7 +2,7 @@ Name: KubeOS Version: 1.0.1 -Release: 6 +Release: 8 Summary: O&M platform used to update the whole OS as an entirety License: Mulan PSL v2 Source0: https://gitee.com/openeuler/KubeOS/repository/archive/v%{version}.tar.gz @@ -81,6 +81,12 @@ install -p -m 0600 ./files/os-release %{buildroot}/opt/kubeOS/files rm -rfv %{buildroot} %changelog +* Tue Aug 02 2022 liyuanrong - 1.0.1-8 +- Type:requirement +- CVE:NA +- SUG:restart +- DESC:update to 1.0.1-8 + * Fri Dec 09 2022 liyuanrong - 1.0.1-6 - Type:requirement - CVE:NA