添加ostree启动时,initrd添加临时目录
This commit is contained in:
parent
05be185e94
commit
3180c57b94
|
@ -1,3 +1,9 @@
|
|||
initramfs-tools (0.142kylin13.1.4) nile; urgency=medium
|
||||
|
||||
* 修改init脚本,添加OSTREEBOOT启动参数,添加tmproot临时目录
|
||||
|
||||
-- liushanwen <liushanwen@kylinos.cn> Sun, 03 Dec 2023 17:51:52 +0800
|
||||
|
||||
initramfs-tools (0.142kylin13.1.3) nile; urgency=medium
|
||||
|
||||
* 修改init脚本,添加OSTREEBOOT启动参数
|
||||
|
|
1
init
1
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
|
||||
|
|
Loading…
Reference in New Issue