summaryrefslogtreecommitdiffstats
path: root/source/ap/lxc
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-11-25 04:16:42 +0000
committer Eric Hameleers <alien@slackware.com>2019-11-25 08:59:49 +0100
commit54b0c6f26341d57f621aaa67a6618f7831a4308d (patch)
tree204f17f2e4f4a7c5989e30f2524f287e02d675d8 /source/ap/lxc
parent211e104a467e569d010f15e79732d3a43306a707 (diff)
downloadcurrent-54b0c6f26341d57f621aaa67a6618f7831a4308d.tar.gz
current-54b0c6f26341d57f621aaa67a6618f7831a4308d.tar.xz
Mon Nov 25 04:16:42 UTC 201920191125041642
a/efibootmgr-20191011_e8ce9fe-x86_64-2.txz: Rebuilt. Remove wrong check of opts.reconnect #121. a/kernel-generic-4.19.86-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.86-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.86-x86_64-1.txz: Upgraded. a/pkgtools-15.0-noarch-28.txz: Rebuilt. makepkg: expand the escape list for symlink names. Thanks to NonNonBa. ap/lxc-2.0.11_fad08f383-x86_64-2.txz: Rebuilt. Make sure /dev/null is properly created. Thanks to crts. d/kernel-headers-4.19.86-x86-1.txz: Upgraded. d/python-setuptools-42.0.0-x86_64-1.txz: Upgraded. k/kernel-source-4.19.86-noarch-1.txz: Upgraded. l/vte-0.58.3-x86_64-1.txz: Upgraded. n/stunnel-5.56-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. testing/packages/kernel-generic-5.4.0-x86_64-1.txz: Upgraded. testing/packages/kernel-headers-5.4.0-x86-1.txz: Upgraded. testing/packages/kernel-huge-5.4.0-x86_64-1.txz: Upgraded. testing/packages/kernel-modules-5.4.0-x86_64-1.txz: Upgraded. testing/packages/kernel-source-5.4.0-noarch-1.txz: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap/lxc')
-rw-r--r--source/ap/lxc/lxc-slackware.in2
-rwxr-xr-xsource/ap/lxc/lxc.SlackBuild2
2 files changed, 3 insertions, 1 deletions
diff --git a/source/ap/lxc/lxc-slackware.in b/source/ap/lxc/lxc-slackware.in
index 53e5e2b11..c49366ac6 100644
--- a/source/ap/lxc/lxc-slackware.in
+++ b/source/ap/lxc/lxc-slackware.in
@@ -90,6 +90,8 @@ cp $rootfs/etc/HOSTNAME $rootfs/etc/hostname
# http://www.vislab.uq.edu.au/howto/lxc/MAKEDEV.sh
DEV=$rootfs/dev
mkdir -p ${DEV}
+# Make sure ${DEV}/null isn't accidentally a file by deleting it first:
+rm -f ${DEV}/null
mknod -m 666 ${DEV}/null c 1 3
mknod -m 666 ${DEV}/zero c 1 5
mknod -m 666 ${DEV}/random c 1 8
diff --git a/source/ap/lxc/lxc.SlackBuild b/source/ap/lxc/lxc.SlackBuild
index 5ac8cd873..1cd5c5e88 100755
--- a/source/ap/lxc/lxc.SlackBuild
+++ b/source/ap/lxc/lxc.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=lxc
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | rev | cut -f 2- -d -)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then