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
1b4708ec
Commit
1b4708ec
authored
5 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/mkinitfs: backport fix from upstream
parent
fa593dab
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/mkinitfs/0001-Helping-parsing-code-survive-variable-settings-with-.patch
+26
-0
26 additions, 0 deletions
...elping-parsing-code-survive-variable-settings-with-.patch
main/mkinitfs/APKBUILD
+4
-2
4 additions, 2 deletions
main/mkinitfs/APKBUILD
with
30 additions
and
2 deletions
main/mkinitfs/0001-Helping-parsing-code-survive-variable-settings-with-.patch
0 → 100644
+
26
−
0
View file @
1b4708ec
From 44a1873443ab15bafd6dfd61a7350bec594c907c Mon Sep 17 00:00:00 2001
From: Roman Shaposhnik <rvs@zededa.com>
Date: Thu, 5 Dec 2019 15:59:32 -0800
Subject: [PATCH] Helping parsing code survive variable settings with (xxx,yyy)
in them
---
initramfs-init.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/initramfs-init.in b/initramfs-init.in
index 496d93b..76f284c 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -346,7 +346,7 @@
for opt; do
for i in $myopts; do
case "$opt" in
- $i=*) eval "KOPT_${i}=${opt#*=}";;
+ $i=*) eval "KOPT_${i}"='${opt#*=}';;
$i) eval "KOPT_${i}=yes";;
no$i) eval "KOPT_${i}=no";;
esac
--
2.24.0
This diff is collapsed.
Click to expand it.
main/mkinitfs/APKBUILD
+
4
−
2
View file @
1b4708ec
...
...
@@ -2,7 +2,7 @@
pkgname
=
mkinitfs
pkgver
=
3.4.3
_ver
=
${
pkgver
%_git*
}
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"Tool to generate initramfs images for Alpine"
url
=
"https://git.alpinelinux.org/cgit/mkinitfs"
arch
=
"all"
...
...
@@ -18,6 +18,7 @@ triggers="$pkgname.trigger=/usr/share/kernel/*"
source
=
"https://dev.alpinelinux.org/archive/
$pkgname
/
$pkgname
-
$_ver
.tar.xz
0001-nlplug-findfs.c-Explicitly-include-sys-sysmacros.h-d.patch
0001-features-add-af_packet-kernel-module-for-dhcp.patch
0001-Helping-parsing-code-survive-variable-settings-with-.patch
"
build
()
{
...
...
@@ -32,4 +33,5 @@ package() {
sha512sums
=
"d335a6f58ca38a3cc6dcc560baaabd3ea9522ce25de008eb637f0761db7f783c3b03767ba046c3d34550d1d0741bcc54ad09903b41e79fe408264eadbbc0a457 mkinitfs-3.4.3.tar.xz
6b7c16035181ab96a1d0dad9f31df8d74e6d39db775ce540b2b2efaaa4d918a18f331829f4113bff7a38805f648b7d83b7ec15adaaf78b17c9465dc0a19e8b32 0001-nlplug-findfs.c-Explicitly-include-sys-sysmacros.h-d.patch
2b29aceee789a79c5395e9a4e896aa0561f812420aa98ab9febdca8e1ea34691d2b819a8f0c09e56d198fda587e569ce026bc6aacdb700ea00a91fc08dcd3a05 0001-features-add-af_packet-kernel-module-for-dhcp.patch"
2b29aceee789a79c5395e9a4e896aa0561f812420aa98ab9febdca8e1ea34691d2b819a8f0c09e56d198fda587e569ce026bc6aacdb700ea00a91fc08dcd3a05 0001-features-add-af_packet-kernel-module-for-dhcp.patch
2a443d1c45533c39339c5f30c0a0318205f59f2fadf4ce4b3992439cecb9f6f3c2c5d9dbaa1be89b2d09d4ec8876280963f7ea93b68f3a0f26cec99e1028d847 0001-Helping-parsing-code-survive-variable-settings-with-.patch"
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