Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
650
Issues
650
List
Boards
Labels
Service Desk
Milestones
Merge Requests
214
Merge Requests
214
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
ee20ced7
Commit
ee20ced7
authored
Dec 23, 2009
by
Natanael Copa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/mkinitfs: upgrade to 2.0_rc7
parent
36dda310
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
34 deletions
+4
-34
main/mkinitfs/0001-init-never-overwrite-existing-files.patch
main/mkinitfs/0001-init-never-overwrite-existing-files.patch
+0
-26
main/mkinitfs/APKBUILD
main/mkinitfs/APKBUILD
+4
-8
No files found.
main/mkinitfs/0001-init-never-overwrite-existing-files.patch
deleted
100644 → 0
View file @
36dda310
From bf94c9b9aa7884fc50d3110d69e2d28e413159ed Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 24 Nov 2009 12:23:38 +0000
Subject: [PATCH] init: never overwrite existing files
ref #197
---
initramfs-init.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/initramfs-init.in b/initramfs-init.in
index 04798de..bd97ace 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -372,7 +372,7 @@
if [ -n "$KOPT_chart" ]; then
fi
apkflags="--initdb --quiet --progress --force --no-network"
if [ -z "$KOPT_keep_apk_new" ]; then
- apkflags="$apkflags --clean-protected"
+ apkflags="$apkflags --clean-protected --never-overwrite"
fi
apk add --root $sysroot $repo_opt $apkflags $pkgs >/dev/null
eend $?
--
1.6.5.3
main/mkinitfs/APKBUILD
View file @
ee20ced7
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
mkinitfs
pkgver
=
2.0_rc
6
pkgrel
=
2
pkgver
=
2.0_rc
7
pkgrel
=
0
pkgdesc
=
"Tool to generate initramfs images for Alpine"
url
=
http://git.alpinelinux.org/cgit/mkinitfs
depends
=
"busybox apk-tools>=2.0
_rc7
"
depends
=
"busybox apk-tools>=2.0"
triggers
=
"
$pkgname
.trigger:/usr/share/kernel/*"
source
=
"http://git.alpinelinux.org/cgit/
$pkgname
/snapshot/
$pkgname
-
$pkgver
.tar.bz2
0001-init-never-overwrite-existing-files.patch
"
license
=
"GPL-2"
build
()
{
cd
"
$srcdir
"
/
$pkgname
-
$pkgver
patch
-p1
-i
../0001-init-never-overwrite-existing-files.patch
||
return
1
make
||
return
1
make
install
DESTDIR
=
"
$pkgdir
"
||
return
1
}
md5sums
=
"6b8945b2e3be747caf8cfb29230f180e mkinitfs-2.0_rc6.tar.bz2
921aadd7e302d5e565e539e611be946e 0001-init-never-overwrite-existing-files.patch"
md5sums
=
"1e4ec2bb620f080699fddb40e273e33c mkinitfs-2.0_rc7.tar.bz2"
Natanael Copa
@ncopa
mentioned in commit
02822ef9
·
Jul 12, 2019
mentioned in commit
02822ef9
mentioned in commit 02822ef9cfa2cfb933f5e63e51f5851177ada29f
Toggle commit list
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