Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
b71327d3
Commit
b71327d3
authored
Jan 18, 2021
by
Igor Pecovnik
Browse files
Fix install bug for overlayrootfs
parent
12870c66
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
b71327d3
...
...
@@ -1469,6 +1469,7 @@ function jobs ()
else
debconf-apt-progress
--
apt-get
-o
Dpkg::Options::
=
"--force-confnew"
-y
install
overlayroot
debconf-apt-progress
--
apt-get
-f
-yy
install
[[
!
-f
/etc/overlayroot.conf
]]
&&
cp
/etc/overlayroot.conf.dpkg-new /etc/overlayroot.conf
echo
'#!/bin/bash'
>
/etc/update-motd.d/97-overlayroot
echo
'if [ -n "$(mount | grep -w tmpfs-root)" ]; then \
echo -e "[\e[0m \e[1mremember: your system is in virtual read only mode\e[0m ]\n";fi'
>>
/etc/update-motd.d/97-overlayroot
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment