diff options
-rw-r--r-- | testing/rinse/APKBUILD | 8 | ||||
-rw-r--r-- | testing/rinse/rinse-device-nodes.patch | 19 |
2 files changed, 24 insertions, 3 deletions
diff --git a/testing/rinse/APKBUILD b/testing/rinse/APKBUILD index 4f2e3de8b6..d35d27d2f9 100644 --- a/testing/rinse/APKBUILD +++ b/testing/rinse/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=rinse pkgver=2.0 -pkgrel=2 +pkgrel=3 pkgdesc="RPM chroot bootstrapping tool" url="http://www.steve.org.uk/Software/rinse/" arch="noarch" @@ -13,7 +13,8 @@ makedepends="$depends_dev gzip coreutils" install="" subpackages="$pkgname-doc" source="http://www.steve.org.uk/Software/rinse/rinse-$pkgver.tar.gz - rinse-posix-cpio-use.patch" + rinse-posix-cpio-use.patch + rinse-device-nodes.patch" _builddir="$srcdir"/rinse-$pkgver prepare() { @@ -36,4 +37,5 @@ package() { } md5sums="ccae96895b413bb1040a86d17bec4b06 rinse-2.0.tar.gz -6761f834b3f50bded544021ccb90c700 rinse-posix-cpio-use.patch" +6761f834b3f50bded544021ccb90c700 rinse-posix-cpio-use.patch +6a6092323c1973832f5c050d37265d99 rinse-device-nodes.patch" diff --git a/testing/rinse/rinse-device-nodes.patch b/testing/rinse/rinse-device-nodes.patch new file mode 100644 index 0000000000..a4300f1818 --- /dev/null +++ b/testing/rinse/rinse-device-nodes.patch @@ -0,0 +1,19 @@ +--- rinse-2.0.orig/scripts.common/20-dev-zero.sh ++++ rinse-2.0/scripts.common/20-dev-zero.sh +@@ -34,4 +34,16 @@ + if [ ! -e "${prefix}/dev/zero" ]; then + mknod -m 666 "${prefix}/dev/zero" c 1 5 + fi ++if [ ! -e "${prefix}/dev/urandom" ]; then ++ mknod -m 666 "${prefix}/dev/urandom" c 1 9 ++fi ++if [ ! -e "${prefix}/dev/random" ]; then ++ mknod -m 666 "${prefix}/dev/random" c 1 8 ++fi ++if [ ! -e "${prefix}/dev/null" ]; then ++ mknod -m 666 "${prefix}/dev/null" c 1 3 ++fi ++if [ ! -e "${prefix}/dev/console" ]; then ++ mknod -m 666 "${prefix}/dev/console" c 5 1 ++fi + |