commit 681a702f212d800fce815f6de01599c462fe6b66
parent bd92e5d9f9ab5c2c358e26d3c84a23b6d76d6e4e
Author: parazyd <parazyd@dyne.org>
Date: Tue, 14 Feb 2017 17:24:56 +0100
ready for a test run
Diffstat:
3 files changed, 37 insertions(+), 4 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -1,3 +1,4 @@
[submodule "lib/libdevuansdk"]
path = lib/libdevuansdk
- url = https://git.devuan.org/sdk/libdevuansdk.git
+ url = git@git.devuan.org:sdk/libdevuansdk.git
+
diff --git a/config b/config
@@ -0,0 +1,33 @@
+#!/usr/bin/env zsh
+# Copyright (c) 2016-2017 Dyne.org Foundation
+# vm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
+#
+# This file is part of vm-sdk
+#
+# This source code is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this source code. If not, see <http://www.gnu.org/licenses/>.
+
+
+## vm-sdk configuration
+## ---------------------
+
+arch=amd64
+size=1891
+
+## options for `make` when building kernel
+MAKEOPTS="-j$(expr $(grep -c 'processor' /proc/cpuinfo) + 1)"
+
+## extra_packages for all images
+extra_packages+=(fake-hwclock busybox-syslogd busybox-static openntpd)
+extra_packages+=(fbterm)
+purge_packages+=(rsyslog)
diff --git a/sdk b/sdk
@@ -47,9 +47,8 @@ source $R/lib/zuper/zuper.init
load() {
fn load "$@"
os="$1"
- dev="$2"
- blend="$3"
- req=(os dev)
+ blend="$2"
+ req=(os)
ckreq || return 1
## initialize binfmt_misc if not already, needed to run qemu