Thread
:
[Debian] Running Debian in a chroot
View Single Post
Stskeeps
2008-07-30 , 16:54
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#
269
To the beta4 (not sure why it's called beta4,
and chroot discussion,
I took some time to edit debscripts to fit NIT-Debian. A patch to build
anything from is at
http://bsd.tspre.org/~stskeeps/debbie.patch
.
An overview of additional/removals:
* Get DEBUSER from $CHROOT/etc/tablet_user, as we don't rely on user being
'user', and store choice of tablet user in /etc/tablet_user.
* Mount sysfs on $CHROOT/sys
* mkdir -p $CHROOT/media/mmc{1,2},usb
* Mount /home/user onto /home/$DEBUSER instead
* Don't copy /etc/hosts - it's not needed, we have a perfectly good one in
Debian
* I have some doubts regarding /etc/resolv.conf - as it seems to overwrite
the link made by resolvconf .. but I haven't got proper WLAN here in the
mountains (only GPRS over BT, and my Debian isn't set up for that just yet..)
* Do not copy group, passwd. When we install debian the tablet user will
have uid 29999 and gid 29999 and things should go fairly smoothly after
that?
* Do not copy calibration, instead run our x-server-prepare script which
sets up pointercal - this should probably be some thing where it only
installs a new one if the user has set another screen calibration than the
default model ones..
Quote & Reply
|
Stskeeps
View Public Profile
Find all posts by Stskeeps