![]() |
2013-05-16
, 22:51
|
Posts: 126 |
Thanked: 160 times |
Joined on Aug 2012
|
#2912
|
![]() |
2013-05-17
, 21:16
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2913
|
![]() |
2013-05-20
, 15:30
|
|
Posts: 6,453 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#2914
|
The Following User Says Thank You to pichlo For This Useful Post: | ||
![]() |
2013-05-20
, 17:53
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#2915
|
Please forgive me a naive question. I've wanted to ask for a long time but felt too embarrassed. Finally the curiosity got the better of me
I was trying to implement "easier-than-Easy" Debian by adding Debian repositories to FAM but nothing happened. No Debian packages appeared on the list. Why?
![]() |
2013-05-20
, 23:02
|
|
Posts: 6,453 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#2916
|
![]() |
2013-05-21
, 12:58
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2917
|
![]() |
2013-05-21
, 20:04
|
|
Posts: 6,453 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#2918
|
The Following User Says Thank You to pichlo For This Useful Post: | ||
![]() |
2013-06-10
, 07:47
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2919
|
Basically, adding a test for $IMGFILE!=none in two places and removing -m in the call to fuser as it was causing aforementioned issues.
TEST1=`mount | grep " $CHROOT "` MAPPER=`mount | grep "/dev/mapper"` if [ "x$TEST1" != "x" ] && [ "x$MAPPER" == "x" ] ; then if [ -f "/bin/gfuser" ] ; then gfuser -m "$CHROOT" -k else cd /proc fuser -m "$CHROOT" -k fi else cd /proc fuser "$CHROOT" -k
I just did not think ED needed to know about my entire /home tree (which would include ED recursively). Mounting user's home dir ought to be enough for everybody
Code:pp900-a:/sbin# diff qchroot qchroot.old --- qchroot +++ qchroot.old @@ -76,10 +76,10 @@ #Mount the user's home dir echo .... >/dev/stderr - mount -o bind /home/user "$CHROOT/home/user" + #mount -o bind /home/user "$CHROOT/home/user" # Do it the Fremantle way. - #mount /dev/mmcblk0p2 "$CHROOT/home" + mount /dev/mmcblk0p2 "$CHROOT/home" mount /dev/mmcblk0p1 "$CHROOT/home/user/MyDocs" #Make DBus work pp900-a:/sbin#
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2013-06-10
, 10:44
|
|
Posts: 6,453 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#2920
|
Any idea, why it did all the trickery to decide between gfuser (in case of using /dev/mapper = using loopback file) or fuser (and fallback to fuser in case of gfuser absence, even for said loopback file) in the first time? Also, why you've decided to remove it?
I do not recommend mounting /home/user *at all* in any form for ED. If you investigate latest (Squeeze and later) images, they contain onchrootmount (or smth like that) script, that gets executed from within ED, and umount /dev/mmcblk0p2 (for ED only).
![]() |
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
|
However, valdur55's post did not cure the "Nothing to do" problem, I had to edit closechroot thus:
I have also edited qchroot to alter some mounts but that is just my preference and I am not suggesting that it should be in any way taken seriously. I just did not think ED needed to know about my entire /home tree (which would include ED recursively). Mounting user's home dir ought to be enough for everybody