|
|
@ -81,11 +81,6 @@ if test -v OVERWRITE; then |
|
|
|
' |
|
|
|
' |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install overlayroot |
|
|
|
|
|
|
|
echo overlayroot=\"device:dev=/dev/disk/by-partlabel/01-tmp-system,recurse=0\" >> /etc/overlayroot.conf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fix permissions |
|
|
|
# Fix permissions |
|
|
|
find . -type d -exec chmod 755 {} \; |
|
|
|
find . -type d -exec chmod 755 {} \; |
|
|
|
find . -type f -exec chmod 644 {} \; |
|
|
|
find . -type f -exec chmod 644 {} \; |
|
|
@ -96,6 +91,11 @@ cp --preserve=mode -RT . / |
|
|
|
cd $SCRIPT_DIR |
|
|
|
cd $SCRIPT_DIR |
|
|
|
rm -rf /tmp/system |
|
|
|
rm -rf /tmp/system |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install overlayroot |
|
|
|
|
|
|
|
echo overlayroot=\"device:dev=/dev/disk/by-partlabel/01-tmp-system,recurse=0\" >> /etc/overlayroot.conf |
|
|
|
|
|
|
|
|
|
|
|
update-initramfs -u |
|
|
|
update-initramfs -u |
|
|
|
|
|
|
|
|
|
|
|
# Remove root & user password |
|
|
|
# Remove root & user password |
|
|
|