Dragora GNU/Linux-Libre

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1:fb67108955d002ef653184f7cea4c1735de9762a
Date: 2017-10-09 15:26:54
User: selk
Comment:enter-chroot: try to cover /run/shm for mounting it (present in other distributions)
Tags And Properties
Context
2017-10-10
10:43
[6144fa567f] minor changes in qi, the value of TMPDIR is now /usr/src/qi/build for the compiled sources (user: selk, tags: trunk)
2017-10-09
15:26
[fb67108955] enter-chroot: try to cover /run/shm for mounting it (present in other distributions) (user: selk, tags: trunk)
14:17
[1cbd7b77ad] handle config file in xinit (user: selk, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to enter-chroot.

85
86
87
88
89
90
91
92
93
94







95
96
97
98
99
100
101
            "${rootdir}/usr/src/qi/patches"  \
            "${rootdir}/usr/src/qi/recipes"  \
            "${rootdir}/usr/src/qi/sources"

echo "Mounting virtual file systems ..."
mount -o bind /dev      "${rootdir}/dev"
mount -t devpts devpts  "${rootdir}/dev/pts"
mount -o bind /dev/shm  "${rootdir}/dev/shm"
mount -t proc proc      "${rootdir}/proc"
mount -t sysfs sysfs    "${rootdir}/sys"








echo "Binding directories to mount: archive, patches, recipes, sources ..."
mount -o bind "${CWD}/archive" "${rootdir}/usr/src/qi/archive"
mount -o bind "${CWD}/patches" "${rootdir}/usr/src/qi/patches"
mount -o bind "${CWD}/recipes" "${rootdir}/usr/src/qi/recipes"
mount -o bind "${CWD}/sources" "${rootdir}/usr/src/qi/sources"








<


>
>
>
>
>
>
>







85
86
87
88
89
90
91

92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
            "${rootdir}/usr/src/qi/patches"  \
            "${rootdir}/usr/src/qi/recipes"  \
            "${rootdir}/usr/src/qi/sources"

echo "Mounting virtual file systems ..."
mount -o bind /dev      "${rootdir}/dev"
mount -t devpts devpts  "${rootdir}/dev/pts"

mount -t proc proc      "${rootdir}/proc"
mount -t sysfs sysfs    "${rootdir}/sys"

if test -e /run/shm
then
    mount -o bind /run/shm "${rootdir}/dev/shm"
else
    mount -o bind /dev/shm "${rootdir}/dev/shm"
fi

echo "Binding directories to mount: archive, patches, recipes, sources ..."
mount -o bind "${CWD}/archive" "${rootdir}/usr/src/qi/archive"
mount -o bind "${CWD}/patches" "${rootdir}/usr/src/qi/patches"
mount -o bind "${CWD}/recipes" "${rootdir}/usr/src/qi/recipes"
mount -o bind "${CWD}/sources" "${rootdir}/usr/src/qi/sources"