make the /etc/mtab link relative in snappy (LP: #1547033)

This commit is contained in:
Oliver Grawert 2016-03-24 13:28:08 +01:00
parent 12f8686c29
commit 16f26af920
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
livecd-rootfs (2.393) UNRELEASED; urgency=medium
* actually make the /etc/mtab link relative (LP: #1547033)
-- Oliver Grawert <ogra@ubuntu.com> Thu, 24 Mar 2016 13:27:01 +0100
livecd-rootfs (2.392) xenial; urgency=medium
* move mtab link to point to /proc/self/mounts instead of /proc/mounts

View File

@ -3,7 +3,7 @@
set -e
echo "creating mtab and modules dir" >&2
ln -sf /proc/self/mounts /etc/mtab
ln -sf ../proc/self/mounts /etc/mtab
mkdir -p /lib/modules
mkdir -p /lib/firmware
mkdir -p /writable