Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (62057fdd69c63846fb44dfc582ca13f714280f2f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (62057fdd69c63846fb44dfc582ca13f714280f2f)
  • Date: Thu, 16 Feb 2012 15:25:04 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
disk/mbootpack/BUILD | 1 +
disk/mbootpack/DETAILS | 21 +++++++++++++++++++++
disk/mbootpack/HISTORY | 2 ++
disk/mbootpack/INSTALL | 1 +
disk/mbootpack/PRE_BUILD | 8 ++++++++
disk/mbootpack/header.patch | 30 ++++++++++++++++++++++++++++++
7 files changed, 66 insertions(+)

New commits:
commit 62057fdd69c63846fb44dfc582ca13f714280f2f
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

mbootpack: new spell, multiboot kernel packager

diff --git a/ChangeLog b/ChangeLog
index 7e1927d..ef32a34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2012-02-17 Vlad Glagolev <stealth AT sourcemage.org>
+ * disk/mbootpack: new spell, multiboot kernel packager
+
2012-02-11 Ladislav Hagara <hgr AT vabo.cz>
* devel/nodejs: new spell
platform for building fast, scalable network applications
diff --git a/disk/mbootpack/BUILD b/disk/mbootpack/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/disk/mbootpack/BUILD
@@ -0,0 +1 @@
+make
diff --git a/disk/mbootpack/DETAILS b/disk/mbootpack/DETAILS
new file mode 100755
index 0000000..011eadf
--- /dev/null
+++ b/disk/mbootpack/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=mbootpack
+ VERSION=0.6a
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ SOURCE_URL[0]=http://www.tjd.phlegethon.org/software/$SOURCE
+
SOURCE_HASH=sha512:7e03a232a2349f3113602f3e578b660f4344b3eedf107bab96b54e0c8277512fb69d94a0cd37317348d1fba5472496f9ed56139ed81a7225fecfdf77f386a8fb
+ WEB_SITE=http://www.tjd.phlegethon.org/software/#mbootpack
+ ENTERED=20120217
+ LICENSE[0]=GPL
+ DOCS="README GPL Changes"
+ KEYWORDS="loader multiboot xen"
+ SHORT="multiboot kernel packager"
+cat << EOF
+This is a tool that takes a multiboot kernel and modules (e.g. a Xen VMM,
linux
+kernel and initrd), and packages them up as a single file that looks like a
+bzImage linux kernel.
+
+The aim is to allow you to boot multiboot kernels (in particular, Xen) using
+bootloaders that don't support multiboot (i.e. pretty much anything except
GRUB
+and SYSLINUX).
+EOF
diff --git a/disk/mbootpack/HISTORY b/disk/mbootpack/HISTORY
new file mode 100644
index 0000000..d4b8dfd
--- /dev/null
+++ b/disk/mbootpack/HISTORY
@@ -0,0 +1,2 @@
+2012-02-17 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, {PRE_,}BUILD, INSTALL, header.patch: spell created
diff --git a/disk/mbootpack/INSTALL b/disk/mbootpack/INSTALL
new file mode 100755
index 0000000..17d3db7
--- /dev/null
+++ b/disk/mbootpack/INSTALL
@@ -0,0 +1 @@
+install -vm 755 mbootpack "$INSTALL_ROOT/usr/sbin"
diff --git a/disk/mbootpack/PRE_BUILD b/disk/mbootpack/PRE_BUILD
new file mode 100755
index 0000000..a6adba5
--- /dev/null
+++ b/disk/mbootpack/PRE_BUILD
@@ -0,0 +1,8 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# drop unused header
+patch -p0 < "$SPELL_DIRECTORY/header.patch" &&
+
+# use custom C/LD flags
+sedit "s:^CFLAGS += -pipe -O3.*:CFLAGS += $CFLAGS:" Makefile
diff --git a/disk/mbootpack/header.patch b/disk/mbootpack/header.patch
new file mode 100644
index 0000000..2abda14
--- /dev/null
+++ b/disk/mbootpack/header.patch
@@ -0,0 +1,30 @@
+--- buildimage.c.orig 2008-12-09 17:10:59.000000000 +0400
++++ buildimage.c 2012-02-17 01:12:25.770006929 +0400
+@@ -38,7 +38,6 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+-#include <asm/page.h>
+
+ #include "mbootpack.h"
+ #include "mb_header.h"
+--- mbootpack.c.orig 2008-12-09 17:10:59.000000000 +0400
++++ mbootpack.c 2012-02-17 01:12:58.050000542 +0400
+@@ -43,7 +43,6 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+-#include <asm/page.h>
+
+ /* From GNU GRUB */
+ #include "mb_header.h"
+--- setup.S.orig 2008-12-09 17:10:59.000000000 +0400
++++ setup.S 2012-02-17 01:12:32.930000555 +0400
+@@ -82,7 +82,6 @@
+ #include <linux/compile.h>
+ #include <asm/boot.h>
+ #include <asm/e820.h>
+-#include <asm/page.h>
+ */
+
+ /* Definitions that should have come from these includes */



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (62057fdd69c63846fb44dfc582ca13f714280f2f), Vlad Glagolev, 02/16/2012

Archive powered by MHonArc 2.6.24.

Top of Page