mirror of https://gitee.com/openkylin/casper.git
Fix bug 130097 for directly installing mode
This commit is contained in:
parent
062fdb0839
commit
e9388ad926
|
@ -1,3 +1,9 @@
|
||||||
|
casper (1.445-ok4) yangtze; urgency=medium
|
||||||
|
|
||||||
|
* Fix bug 130097 for directly installing mode
|
||||||
|
|
||||||
|
-- liuyi <liuyi@kylinos.cn> Tue, 19 Jul 2022 23:26:59 +0800
|
||||||
|
|
||||||
casper (1.445-ok3) yangtze; urgency=medium
|
casper (1.445-ok3) yangtze; urgency=medium
|
||||||
|
|
||||||
* Fix bug cannot modprobe overlay module
|
* Fix bug cannot modprobe overlay module
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
PREREQ=""
|
||||||
|
|
||||||
|
prereqs()
|
||||||
|
{
|
||||||
|
echo "$PREREQ"
|
||||||
|
}
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
# get pre-requisites
|
||||||
|
prereqs)
|
||||||
|
prereqs
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if grep -q boot=casper /proc/cmdline; then
|
||||||
|
if ! grep -q live /proc/cmdline; then
|
||||||
|
if [ -e /root/usr/bin/ukui-session-wayland ]; then
|
||||||
|
sed -i 's/ukui-session/kylin-os-installer-live/' /root/usr/bin/ukui-session-wayland
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
Loading…
Reference in New Issue