The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/310

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) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 9910f27109c19829fdbc159ebd9ecbd9d87acfb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Tue, 24 Mar 2020 11:09:37 -0400
Subject: [PATCH] data: Fix core16 initrd
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 data/ubuntu-core/init | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/data/ubuntu-core/init b/data/ubuntu-core/init
index 5e45835..8ecbacb 100755
--- a/data/ubuntu-core/init
+++ b/data/ubuntu-core/init
@@ -48,6 +48,9 @@ cd /initrd
 if [ ! -e "/initrd/scripts/" ]; then
     (/bin/cpio -t; lzcat | /bin/cpio -id) < /mnt/initrd.img >/dev/null 2>&1 || 
true
 fi
+if [ ! -e "/initrd/scripts/" ]; then
+    (/bin/cpio -t; /bin/cpio -t; lzcat | /bin/cpio -id) < /mnt/initrd.img 
>/dev/null 2>&1 || true
+fi
 if [ ! -e "/initrd/scripts/" ]; then
     (/bin/cpio -t; /bin/cpio -id) < /mnt/initrd.img >/dev/null 2>&1 || true
 fi
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to