mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-19 14:51:49 +00:00
Remove device nodes from Docker images. (LP: #1645468)
This commit is contained in:
parent
c7bf282875
commit
013dff431e
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -11,6 +11,9 @@ livecd-rootfs (2.533) UNRELEASED; urgency=medium
|
|||||||
* Update unminimize script text and install ubuntu-standard when
|
* Update unminimize script text and install ubuntu-standard when
|
||||||
unminimizing a minimal image (LP: #1778777)
|
unminimizing a minimal image (LP: #1778777)
|
||||||
|
|
||||||
|
[ Michael Hudson-Doyle ]
|
||||||
|
* Remove device nodes from Docker images. (LP: #1645468)
|
||||||
|
|
||||||
-- Robert C Jennings <robert.jennings@canonical.com> Fri, 08 Jun 2018 10:10:53 -0700
|
-- Robert C Jennings <robert.jennings@canonical.com> Fri, 08 Jun 2018 10:10:53 -0700
|
||||||
|
|
||||||
livecd-rootfs (2.532) cosmic; urgency=medium
|
livecd-rootfs (2.532) cosmic; urgency=medium
|
||||||
|
@ -266,6 +266,9 @@ EOF
|
|||||||
# Save even more size by removing apt lists (that are currently removed
|
# Save even more size by removing apt lists (that are currently removed
|
||||||
# downstream anyway)
|
# downstream anyway)
|
||||||
rm -rf chroot/var/lib/apt/lists/*
|
rm -rf chroot/var/lib/apt/lists/*
|
||||||
|
# Having device notes in the docker image can cause problems:
|
||||||
|
# https://github.com/tianon/docker-brew-ubuntu-core/issues/62
|
||||||
|
rm -rf chroot/dev/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f config/oem-config-preinstalled ]; then
|
if [ -f config/oem-config-preinstalled ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user