From 3180c57b94fc31a2dba95f413fccdebbe79b18c9 Mon Sep 17 00:00:00 2001 From: liushanwen Date: Sun, 3 Dec 2023 17:53:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ostree=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=EF=BC=8Cinitrd=E6=B7=BB=E5=8A=A0=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 6 ++++++ init | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 85299c4..1b3d8d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +initramfs-tools (0.142kylin13.1.4) nile; urgency=medium + + * 修改init脚本,添加OSTREEBOOT启动参数,添加tmproot临时目录 + + -- liushanwen Sun, 03 Dec 2023 17:51:52 +0800 + initramfs-tools (0.142kylin13.1.3) nile; urgency=medium * 修改init脚本,添加OSTREEBOOT启动参数 diff --git a/init b/init index c55759c..91858f9 100755 --- a/init +++ b/init @@ -13,6 +13,7 @@ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [ -d /sys ] || mkdir /sys [ -d /proc ] || mkdir /proc [ -d /tmp ] || mkdir /tmp +[ -d /tmproot ] || mkdir /tmproot mkdir -p /var/lock mount -t sysfs -o nodev,noexec,nosuid sysfs /sys mount -t proc -o nodev,noexec,nosuid proc /proc