[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a few jessie gnome-desktop live runtime issues



On 08/17/2014 06:33 PM, Ben Armstrong wrote:
3. The 'df' command doesn't work because /etc/mtab is a symlink to
/proc/mtab which doesn't exist. Remove that symlink and execute
/etc/init.d/checkroot.sh, which creates the correct symlink to /proc/mounts.

Since I didn't have time to figure out whether these were bugs in the
config, bugs in a non-live package, or bugs in live-build, I have not
yet filed any bugs. I would appreciate some help identifying them.

Thanks,
Ben
I'm currently using Jessie, and I do not have the first two issues here, unfortunately, so I cannot help there.

I can help with point 3, using the following (attached) patch (sorry, I'm new here, and my first contribution, so I hope I did this right):

Now if you already have a configured build directory, you can apply it against the hook of the same name in {build}/config/hooks.

--- /usr/share/live/build/hooks/0020-create-mtab-symlink.hook.chroot.orig 2014-08-21 04:04:30.332013932 -0400 +++ /usr/share/live/build/hooks/0020-create-mtab-symlink.hook.chroot 2014-08-21 04:19:25.207017980 -0400
@@ -7,5 +7,5 @@
 if [ ! -L /etc/mtab ]
 then
     rm -f /etc/mtab
-    ln -s /proc/mtab /etc/mtab
+    ln -s /proc/mounts /etc/mtab
 fi

--
Anthony Thomasel
FSF Associate Member #12876
--- /usr/share/live/build/hooks/0020-create-mtab-symlink.hook.chroot.orig	2014-08-21 04:04:30.332013932 -0400
+++ /usr/share/live/build/hooks/0020-create-mtab-symlink.hook.chroot	2014-08-21 04:19:25.207017980 -0400
@@ -7,5 +7,5 @@
 if [ ! -L /etc/mtab ]
 then
 	rm -f /etc/mtab
-	ln -s /proc/mtab /etc/mtab
+	ln -s /proc/mounts /etc/mtab
 fi

Reply to: