1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

mkimage-arch: remove $DEV instead of renaming it

Docker-DCO-1.1-Signed-off-by: Bartłomiej Piotrowski <b@bpiotrowski.pl> (github: Barthalion)
This commit is contained in:
Bartłomiej Piotrowski 2014-01-06 13:10:16 +01:00
parent c138c335a5
commit a4e6e9bd41

View file

@ -47,7 +47,7 @@ arch-chroot $ROOTFS /bin/sh -c 'echo "Server = http://mirrors.kernel.org/archlin
# udev doesn't work in containers, rebuild /dev # udev doesn't work in containers, rebuild /dev
DEV=${ROOTFS}/dev DEV=${ROOTFS}/dev
mv ${DEV} ${DEV}.old rm -rf ${DEV}
mkdir -p ${DEV} mkdir -p ${DEV}
mknod -m 666 ${DEV}/null c 1 3 mknod -m 666 ${DEV}/null c 1 3
mknod -m 666 ${DEV}/zero c 1 5 mknod -m 666 ${DEV}/zero c 1 5