mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
cdrom: Symlink /etc/mtab to /proc/self/mounts
See cad2ce78dd for details.
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -149,7 +149,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Clear mtab (prevents .journal problems)
|
||||
rm -vf /etc/mtab
|
||||
echo > /etc/mtab
|
||||
ln -s /proc/self/mounts /etc/mtab
|
||||
|
||||
# Create filelist for packaging.
|
||||
BUILDTARGET="$(BUILDTARGET)" BUILD_ARCH="$(BUILD_ARCH)" KVER="$(KVER)" \
|
||||
|
||||
Reference in New Issue
Block a user