Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
6a730b7c
Commit
6a730b7c
authored
4 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
scripts/mkimg.netboot.sh: readability cleanup
Make code more readable. No functional changes
parent
deee69fb
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/mkimg.netboot.sh
+8
-8
8 additions, 8 deletions
scripts/mkimg.netboot.sh
with
8 additions
and
8 deletions
scripts/mkimg.netboot.sh
+
8
−
8
View file @
6a730b7c
...
@@ -15,19 +15,19 @@ profile_netboot() {
...
@@ -15,19 +15,19 @@ profile_netboot() {
arch
=
"aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
arch
=
"aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
kernel_cmdline
=
"nomodeset"
kernel_cmdline
=
"nomodeset"
case
"
$ARCH
"
in
case
"
$ARCH
"
in
armhf
)
kernel_flavors
=
;;
aarch64
)
kernel_flavors
=
"lts rpi"
;;
armhf
)
kernel_flavors
=
"rpi rpi2"
;;
armv7
)
kernel_flavors
=
"lts rpi rpi2"
;;
x86_64
)
kernel_flavors
=
"lts virt"
;;
*
)
kernel_flavors
=
"lts"
;;
*
)
kernel_flavors
=
"lts"
;;
esac
esac
case
"
$ARCH
"
in
s390x
)
initfs_features
=
"base network squashfs usb dasd_mod qeth zfcp"
;;
*
)
initfs_features
=
"base network squashfs usb virtio"
esac
modloop_sign
=
yes
modloop_sign
=
yes
apks
=
""
apks
=
""
initfs_features
=
"base network squashfs usb virtio"
output_format
=
"netboot"
output_format
=
"netboot"
image_ext
=
"tar.gz"
image_ext
=
"tar.gz"
case
"
$ARCH
"
in
x86_64
)
kernel_flavors
=
"
$kernel_flavors
virt"
;;
s390x
)
initfs_features
=
"
$initfs_features
dasd_mod qeth zfcp"
;;
aarch64
)
kernel_flavors
=
"
$kernel_flavors
rpi"
;;
armhf|armv7
)
kernel_flavors
=
"
$kernel_flavors
rpi rpi2"
;;
esac
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment