zerox
|
2014-06-21
, 01:37
|
Posts: 31 |
Thanked: 50 times |
Joined on Jan 2012
@ Ireland
|
#3101
|
|
2014-06-21
, 06:42
|
|
Posts: 6,447 |
Thanked: 20,981 times |
Joined on Sep 2012
@ UK
|
#3102
|
You might consider using tar to copy the ED files, as described on this page, in order to "preserve ownership, permissions, and timestamps".
The Following 4 Users Say Thank You to pichlo For This Useful Post: | ||
|
2014-06-22
, 09:31
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#3103
|
cp:Cannot preserve owership of foo: Operation not permitted
|
2014-06-22
, 20:05
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#3104
|
The Following User Says Thank You to TomJ For This Useful Post: | ||
|
2014-06-22
, 22:29
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#3105
|
echo .... >/dev/stderr #mount -o bind /home/user "$CHROOT/home/user" # Do it the Fremantle way. #mount /dev/mmcblk0p2 "$CHROOT/home" mount /dev/mmcblk0p1 "$CHROOT/home/user/MyDocs"
|
2014-06-23
, 15:43
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#3106
|
Basically yes, although my version is even simpler (and therefore probably less elegant):I don't remember the details but when I had some problems with lingering mounts I decided to use steamroller tactics.Code:pp900-a:/sbin# diff closechroot closechroot.old --- closechroot +++ closechroot.old @@ -29,7 +29,7 @@ fi #Abort if chroot not mounted. -if [ "$IMGFILE" != "none" ] && [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then +if [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then echo "Nothing to do; chroot not mounted!" - exit 1 + #exit 1 fi
All you have to do is make sure everything that was mounted gets unmounted afterwards.
|
2014-06-24
, 00:10
|
|
Posts: 770 |
Thanked: 558 times |
Joined on Mar 2010
@ Abidjan
|
#3107
|
(...) Of course, if people consider my usability modifications useful (sic!), I could release a tar that, upon extraction, should bring them into Wheezy version, too. No more wheezy images, though as - despite my ever-lasting admiration of sulu for his wonderful work on bringing so nearly complete wheezy experience - I stopped using wheezy alltogether, as the 3 confirmed things that won't work there (chromium, parts of gimp, and [g]parted) are, incidentally, the three things that I use in ED the most
Thanks for your willingness to host images, qole - such stability means a lot in troubles times of dissapearing hosts. I hope you can expect an squeeze-estel-final from me in few days
/Estel
|
2014-07-11
, 10:58
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#3108
|
The Following User Says Thank You to marmistrz For This Useful Post: | ||
|
2014-07-15
, 05:52
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3109
|
sulu: Your fix is partially in extras-devel ( without the commented out #exit 1)
I noticed a problem, though, that /var/lock/qmount-complete isn't created. Therefore, closechroot thinks there've been no mounts
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
|