Commit 3d23fcaf authored by Raphaël Hertzog's avatar Raphaël Hertzog

No longer modify PATH to point to /root

Thus stop using executables from /root.

Closes: #823069
parent e75ad2c3
#!/bin/sh
PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
export PATH
echo "/root/lib" >> /etc/ld.so.conf
echo "/root/usr/lib" >> /etc/ld.so.conf
mountpoint="/live/medium"
alt_mountpoint="/media"
LIVE_MEDIA_PATH="live"
HOSTNAME="host"
custom_overlay_label="persistence"
persistence_list="persistence.conf"
mkdir -p "${mountpoint}"
mkdir -p /var/lib/live/boot
# Create /etc/mtab for debug purpose and future syncs
mkdir -p /etc
touch /etc/mtab
if [ ! -x "/bin/fstype" ]
then
# klibc not in path -> not in initramfs
PATH="${PATH}:/usr/lib/klibc/bin"
export PATH
fi
custom_overlay_label="persistence"
persistence_list="persistence.conf"
......@@ -2,6 +2,8 @@ live-boot (1:20160511) UNRELEASED; urgency=medium
* Update build system to rely on "dpkg-parsechangelog -S Version" instead
of outdated VERSION file.
* No longer modify PATH to point to /root and thus stop using executables
from /root. Closes: #823069
-- Raphaël Hertzog <hertzog@debian.org> Wed, 11 May 2016 11:40:37 +0200
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment