Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
04a12ef0
Commit
04a12ef0
authored
Apr 10, 2018
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage2: cosmetic fixup for aufs/overlayfs check
This has been made a bit messy with commit
9f72780d
, just split the "involved" and straightforward checks into two.
parent
d2f892ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
03-test-kernel
features.in/stage2/stage1/scripts.d/03-test-kernel
+4
-2
No files found.
features.in/stage2/stage1/scripts.d/03-test-kernel
View file @
04a12ef0
...
...
@@ -24,8 +24,10 @@ configured()
ls
$CONFIGS
>
&/dev/null
||
fatal
"no stage1 kernel config found in /boot"
# test for installer-required filesystems support
for
opt
in
SQUASHFS AUFS_FS OVERLAY_FS
$GLOBAL_STAGE1_KCONFIG
;
do
[
"
$opt
"
=
AUFS_FS
]
&&
[
$(
configured
"OVERLAY_FS=[my]"
)
-a
$(
configured
"AUFS_FS=n"
)
]
&&
continue
configured
"OVERLAY_FS=[my]"
||
configured
"AUFS_FS=[my]"
||
echo
fatal
"stage1 kernel must support overlayfs or aufs"
for
opt
in
SQUASHFS
$GLOBAL_STAGE1_KCONFIG
;
do
configured
"
$opt
=[my]"
||
fatal
"stage1 kernel must have
$opt
support"
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment