Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
aports
Commits
25f1e109
Commit
25f1e109
authored
Oct 05, 2009
by
Natanael Copa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/alpine-conf: upgrade to 2.0_rc8
Fixes
#177
parent
a3a664b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
31 deletions
+3
-31
main/alpine-conf/0001-setup-disk-check-if-the-devce-itself-is-mounted.patch
...001-setup-disk-check-if-the-devce-itself-is-mounted.patch
+0
-25
main/alpine-conf/APKBUILD
main/alpine-conf/APKBUILD
+3
-6
No files found.
main/alpine-conf/0001-setup-disk-check-if-the-devce-itself-is-mounted.patch
deleted
100644 → 0
View file @
a3a664b5
From 841c6823ac8a3f1e17af457722c8b7ea2abf8cb4 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 30 Sep 2009 12:57:59 +0000
Subject: [PATCH] setup-disk: check if the devce itself is mounted
this will filter out loop0 device
---
setup-disk.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/setup-disk.in b/setup-disk.in
index 33cc868..c11d20c 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -149,6 +149,7 @@
has_mounted_part() {
# parse /proc/mounts for mounted devices
for p in $(awk '$1 ~ /^\/dev\// {gsub("/dev/", "", $1); print $1}' \
/proc/mounts); do
+ [ "$p" = "$1" ] && return 0
[ -e /sys/block/$1/$p ] && return 0
done
return 1
--
1.6.4.4
main/alpine-conf/APKBUILD
View file @
25f1e109
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
alpine-conf
pkgver
=
2.0_rc
7
pkgrel
=
1
pkgver
=
2.0_rc
8
pkgrel
=
0
pkgdesc
=
"Alpine configuration management scripts"
url
=
http://git.alpinelinux.org/cgit/
$pkgname
depends
=
"openrc"
source
=
"http://git.alpinelinux.org/cgit/
$pkgname
/snapshot/
$pkgname
-
$pkgver
.tar.bz2
0001-setup-disk-check-if-the-devce-itself-is-mounted.patch
"
license
=
"GPL-2"
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
patch
-p1
-i
../0001-setup-disk-check-if-the-devce-itself-is-mounted.patch
||
return
make
||
return
1
make
install
PREFIX
=
DESTDIR
=
"
$pkgdir
"
...
...
@@ -20,5 +18,4 @@ build() {
ln
-s
lbu
"
$pkgdir
"
/sbin/lbu_
$i
done
}
md5sums
=
"8b44c02500d646dd64368904762d236e alpine-conf-2.0_rc7.tar.bz2
f51a1948ddf5f035e9e6509e57000ccd 0001-setup-disk-check-if-the-devce-itself-is-mounted.patch"
md5sums
=
"c84957f015989ed806aa393c398ce901 alpine-conf-2.0_rc8.tar.bz2"
algitbot
@root
mentioned in issue
#177 (closed)
·
Jul 12, 2019
mentioned in issue
#177 (closed)
mentioned in issue #177
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