-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test 16: create kiwi image with root source
- Loading branch information
1 parent
94cc116
commit 7e4c57f
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
From 5f65325484871e37548b789dfd7ebda8e6ae63b8 Mon Sep 17 00:00:00 2001 | ||
From a474fda0970cee54aef77fe5db53140b68622076 Mon Sep 17 00:00:00 2001 | ||
From: Robert Richardson <[email protected]> | ||
Date: Tue, 12 Apr 2022 18:31:59 +0200 | ||
Subject: [PATCH] test 16 patch | ||
|
||
--- | ||
test/TEST-16-DMSQUASH/test.sh | 58 +++++++++++++++++++++++------------ | ||
1 file changed, 38 insertions(+), 20 deletions(-) | ||
test/TEST-16-DMSQUASH/test.sh | 57 +++++++++++++++++++++++------------ | ||
1 file changed, 37 insertions(+), 20 deletions(-) | ||
|
||
diff --git a/test/TEST-16-DMSQUASH/test.sh b/test/TEST-16-DMSQUASH/test.sh | ||
index 2a68f305..4602b6c3 100755 | ||
index 2a68f305..f48126a2 100755 | ||
--- a/test/TEST-16-DMSQUASH/test.sh | ||
+++ b/test/TEST-16-DMSQUASH/test.sh | ||
@@ -4,33 +4,42 @@ TEST_DESCRIPTION="root filesystem on a LiveCD dmsquash filesystem" | ||
|
@@ -93,7 +93,7 @@ index 2a68f305..4602b6c3 100755 | |
inst "$basedir/modules.d/35network-legacy/ifup.sh" "/sbin/ifup" | ||
|
||
inst_simple "${basedir}/modules.d/99base/dracut-lib.sh" "/lib/dracut-lib.sh" | ||
@@ -115,8 +124,17 @@ test_setup() { | ||
@@ -115,8 +124,16 @@ test_setup() { | ||
cp -a -- /etc/ld.so.conf* "$initdir"/etc | ||
ldconfig -r "$initdir" | ||
) | ||
|
@@ -105,15 +105,14 @@ index 2a68f305..4602b6c3 100755 | |
+ | ||
+ tree -L 3 kiwi/build-tests | ||
+ | ||
+ kiwi-ng system build \ | ||
+ --description kiwi/build-tests/x86/leap/test-image-disk \ | ||
+ --set-repo obs://openSUSE:Leap:15.4/standard \ | ||
+ kiwi-ng system create \ | ||
+ --root $initdir | ||
+ --target-dir /tmp/myimage | ||
+ return 0 | ||
} | ||
|
||
test_cleanup() { | ||
@@ -124,4 +142,4 @@ test_cleanup() { | ||
@@ -124,4 +141,4 @@ test_cleanup() { | ||
} | ||
|
||
# shellcheck disable=SC1090 | ||
|