The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc-templates/pull/35
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === * glibc is now initialized when a container is first started * pkgtools7 is not initialized when a container is first started * initpkg is not execute in lxc-plamo Signed-off-by: KATOH Yasufumi <ka...@jazz.email.ne.jp>
From 551f56b5d529ced1b6b51206c4e9b7055e338028 Mon Sep 17 00:00:00 2001 From: KATOH Yasufumi <ka...@jazz.email.ne.jp> Date: Sat, 5 Sep 2020 15:01:38 +0900 Subject: [PATCH] plamo: fix for current Plamo 7.x * glibc is now initialized when a container is first started * pkgtools7 is not initialized when a container is first started * initpkg is not execute in lxc-plamo Signed-off-by: KATOH Yasufumi <ka...@jazz.email.ne.jp> --- templates/lxc-plamo.in | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in index 57f8951..5e27fba 100644 --- a/templates/lxc-plamo.in +++ b/templates/lxc-plamo.in @@ -183,9 +183,6 @@ configure_plamo6() { EOF # configure the network using the dhcp echo "DHCP" > $rootfs/var/run/inet1-scheme - # glibc configure - mv $rootfs/etc/ld.so.conf{.new,} - chroot $rootfs ldconfig # delete unnecessary process from rc.S ed - $rootfs/etc/rc.d/rc.S <<- "EOF" @@ -286,18 +283,13 @@ configure_plamo7() { SERVICE="dhclient" EOF - # initpkg - noexec="shadow netconfig7 eudev openssh" + # remove initpkg that do not execute on containers + noexec="shadow netconfig7 eudev openssh pkgtools${majorver}" for f in $noexec do rm -f $rootfs/var/log/initpkg/"$f" done - pushd $rootfs - for f in var/log/initpkg/* - do - chroot $rootfs sh ./$f - done - popd + ( cd $rootfs/sbin ; mv installer_new installer ) } configure_plamo() {
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel