[ostree] gnomeos: Don't make device files
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] gnomeos: Don't make device files
- Date: Thu, 15 Dec 2011 20:04:29 +0000 (UTC)
commit c9c4dbfb221b8f1ce18652f5389240776f0343a7
Author: Colin Walters <walters verbum org>
Date: Thu Dec 15 15:03:29 2011 -0500
gnomeos: Don't make device files
We don't need them any more inside a chroot now that we have
ostbuild-user-chroot.
gnomeos/yocto/classes/gnomeos-contents.bbclass | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gnomeos/yocto/classes/gnomeos-contents.bbclass b/gnomeos/yocto/classes/gnomeos-contents.bbclass
index 660f479..71a22fa 100644
--- a/gnomeos/yocto/classes/gnomeos-contents.bbclass
+++ b/gnomeos/yocto/classes/gnomeos-contents.bbclass
@@ -68,15 +68,6 @@ EOF
done
chmod a=rwxt tmp
- # Populate /dev/ with a bare minimum of devices, so that
- # the tree is usable for building software inside a chroot
- # without devtmpfs mounted
- mknod -m 0666 ./dev/null c 1 3
- mknod -m 0666 ./dev/zero c 1 5
- mknod -m 0666 ./dev/full c 1 7
- mknod -m 0666 ./dev/random c 1 8
- mknod -m 0666 ./dev/urandom c 1 9
-
for d in $READONLY_BIND_MOUNTS; do
mv ${IMAGE_ROOTFS}/$d .
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]