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