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

ubuntu/yakkety
Oliver Grawert 9 years ago
parent 12f8686c29
commit 16f26af920

6
debian/changelog vendored

@ -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 livecd-rootfs (2.392) xenial; urgency=medium
* move mtab link to point to /proc/self/mounts instead of /proc/mounts * move mtab link to point to /proc/self/mounts instead of /proc/mounts

@ -3,7 +3,7 @@
set -e set -e
echo "creating mtab and modules dir" >&2 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/modules
mkdir -p /lib/firmware mkdir -p /lib/firmware
mkdir -p /writable mkdir -p /writable

Loading…
Cancel
Save