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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Akihiro Suda
aports
Commits
84cd971c
Commit
84cd971c
authored
14 years ago
by
Ariadne Conill
Browse files
Options
Downloads
Patches
Plain Diff
main/acf-alpine-baselayout: compatibility with busybox 1.18 in health model
parent
36568de1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/acf-alpine-baselayout/APKBUILD
+9
-2
9 additions, 2 deletions
main/acf-alpine-baselayout/APKBUILD
main/acf-alpine-baselayout/busybox-1.18-compat.patch
+27
-0
27 additions, 0 deletions
main/acf-alpine-baselayout/busybox-1.18-compat.patch
with
36 additions
and
2 deletions
main/acf-alpine-baselayout/APKBUILD
+
9
−
2
View file @
84cd971c
...
...
@@ -2,16 +2,23 @@
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname
=
acf-alpine-baselayout
pkgver
=
0.7.3
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"A web-based system administration interface for alpine-baselayout"
url
=
"http://git.alpinelinux.org/cgit/acf-alpine-baselayout"
arch
=
"noarch"
license
=
"GPL-2"
depends
=
"acf-core lua lua-json4 lua-posix"
source
=
"http://git.alpinelinux.org/cgit/
$pkgname
.git/snapshot/
$pkgname
-
$pkgver
.tar.bz2"
source
=
"http://git.alpinelinux.org/cgit/
$pkgname
.git/snapshot/
$pkgname
-
$pkgver
.tar.bz2
busybox-1.18-compat.patch"
prepare
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
patch
-p1
<
"
$srcdir
"
/busybox-1.18-compat.patch
}
package
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
make
DESTDIR
=
"
$pkgdir
"
install
}
md5sums
=
"b462fa1ff228f3552c2eea2d0a4fed96 acf-alpine-baselayout-0.7.3.tar.bz2"
This diff is collapsed.
Click to expand it.
main/acf-alpine-baselayout/busybox-1.18-compat.patch
0 → 100644
+
27
−
0
View file @
84cd971c
From 96aa7d8650f4de9f1d009e10d45df01d5e7a1331 Mon Sep 17 00:00:00 2001
From: William Pitcock <nenolod@dereferenced.org>
Date: Mon, 21 Feb 2011 10:11:48 -0600
Subject: [PATCH] health model: work with procps and busybox 1.18
---
health-model.lua | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/health-model.lua b/health-model.lua
index 2749e2a..bb70073 100644
--- a/health-model.lua
+++ b/health-model.lua
@@ -49,8 +49,8 @@
get_system = function (self)
system.version = cfe({ value=indexver or fs.read_file("/etc/alpine-release") or "Unknown", label="Version" })
system.timezone = cfe({ value=date.what_tz(), label="Time Zone" })
system.uname = cfe({ value=querycmd("uname -a"), label="UName" })
- system.memory = cfe({ value=querycmd("free"), label="Memory usage" })
- system.memory.used = getpercentage(querycmd("free"), "Total:", 3, 4)
+ system.memory = cfe({ value=querycmd("free -o"), label="Memory usage" })
+ system.memory.used = getpercentage(querycmd("free -o"), "Total:", 3, 4)
return cfe({ type="group", value=system })
end
--
1.7.4.1
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