[cowdancer] 02/02: debian/qemubuilder.README.Debian: update from the wiki
Mattia Rizzolo
mattia at debian.org
Thu Jan 19 09:56:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository cowdancer.
commit e59f971fb20abf0f953499505584e6c3e5f8d245
Author: Mattia Rizzolo <mattia at debian.org>
Date: Thu Jan 19 10:56:16 2017 +0100
debian/qemubuilder.README.Debian: update from the wiki
---
debian/qemubuilder.README.Debian | 61 ++++++++++++++++++++++++++++++++++------
1 file changed, 53 insertions(+), 8 deletions(-)
diff --git a/debian/qemubuilder.README.Debian b/debian/qemubuilder.README.Debian
index 4d954c8..9bb6f5c 100644
--- a/debian/qemubuilder.README.Debian
+++ b/debian/qemubuilder.README.Debian
@@ -106,7 +106,7 @@ $ sudo apt-get install linux-image-2.6.22-2-amd64
$ cat pbuilderrc-amd64.config
KERNEL_IMAGE=/boot/vmlinuz-2.6.22-2-amd64
INITRD=/boot/initrd.img-2.6.22-2-amd64
-MIRRORSITE=http://httpredir.debian.org/debian
+MIRRORSITE=http://deb.debian.org/debian
ARCH=amd64
BASEPATH=/home/ondra/debian/base-amd64.qemu
MEMORY_MEGS=64
@@ -120,27 +120,72 @@ I found that MEMORY_MEGS=64 was too small. It seemed to work much better for me
== arm ==
kernel for versatile architecture is available from
-Debian archive: http://httpredir.debian.org/debian/pool/main/l/linux-latest-2.6/
+Debian archive: http://deb.debian.org/debian/pool/main/l/linux-latest-2.6/
for example, linux-image-2.6.26-1-versatile_2.6.26-12_armel.deb
This kernel requires initrd, and ext3 and ethernet driver module is not built-in.
-Currently you cannot use this kernel.
+Currently you cannot use this kernel. But yosh at d.o came to rescue with a self-prepared kernel he is offering to all on
+http://yoush.homelinux.org:8079/tech/setting-up-armel-qemubuilder
+accompanied with a nice description of how to set it up and about what exactly he had done.
== mips ==
For etch, there was qemu architecture, for lenny it's malta.
Get the kernel and initrd from
-http://httpredir.debian.org/debian/pool/main/l/linux-latest-2.6/
+http://deb.debian.org/debian/pool/main/l/linux-latest-2.6/
for malta architecture, is this too modularized too?
== mipsel ==
-For etch, there was qemu architecture, for lenny it's malta.
+For ''etch'', there was qemu architecture, for ''lenny'' and higher it's '''malta'''. "initrd" is not needed for "mipsel".
+
+=== Sample config file "qemubuilderrc-mipsel" ===
+{{{
+ARCHITECTURE=mipsel
+KERNEL_IMAGE=/var/cache/pbuilder/vmlinux-3.10-2-4kc-malta
+BASEPATH=/var/cache/pbuilder/mipsel-unstable.raw
+MIRRORSITE=http://deb.debian.org/debian
+DISTRIBUTION=sid
+MEMORY_MEGS=256
+#BUILDPLACE=/var/cache/pbuilder/build
+#DEBBUILDOPTS=" -B"
+AUTO_DEBSIGN=yes
+BUILDRESULT=.
+PKGNAME_LOGFILE=yes
+}}}
+
+=== Getting kernel image file ===
+
+ 1. Open http://packages.debian.org/sid/linux-image-4kc-malta
+ 2. click on "dep: linux-image-3.10-2-4kc-malta".
+ 3. click "mipsel" link in download section.
+ 4. choose mirror to download from.
+
+Effectively package with kernel image can be downloaded with following sample command:
+{{{
+wget 'http://ftp.iinet.net.au/debian/debian/pool/main/l/linux/linux-image-3.10-2-4kc-malta_3.10.7-1_mipsel.deb'
+}}}
+
+Using `mc` copy `boot/vmlinux-3.10-2-4kc-malta` to KERNEL_IMAGE location.
+Alternatively vmlinux file can be extracted using the following commands
+{{{
+dpkg -X linux-image-3.10-2-4kc-malta_3.10.7-1_mipsel.deb .
+}}}
+or
+{{{
+ar -vx linux-image-3.10-2-4kc-malta_3.10.7-1_mipsel.deb
+tar -xf data.tar.xz --wildcards --no-anchored 'boot/vmlinu*'
+}}}
+
+Create image file using
+{{{
+sudo qemubuilder --config /var/cache/pbuilder/qemubuilderrc-mipsel --create
+}}}
+
+If `qemubuilder` mounts ''rootfs'' as read-only then use workaround from
+[[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698451#10|#698451]].
-Get the kernel and initrd from
-http://httpredir.debian.org/debian/pool/main/l/linux-latest-2.6/
-for malta architecture, is this too modularized too?
== powerpc ==
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/cowdancer.git
More information about the Pbuilder-maint
mailing list