Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master cauldron by David Kowis (bd67cb3a2f8ab94b441e8045cd1f9833e5279c17)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Kowis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master cauldron by David Kowis (bd67cb3a2f8ab94b441e8045cd1f9833e5279c17)
  • Date: Tue, 10 Jul 2007 14:22:46 -0500

GIT changes to master cauldron by David Kowis <dkowis AT shlrm.org>:

doc/creating-an-iso | 17 +++++++++++++++++
1 files changed, 17 insertions(+)

New commits:
commit bd67cb3a2f8ab94b441e8045cd1f9833e5279c17
Author: David Kowis <dkowis AT shlrm.org>
Commit: David Kowis <dkowis AT shlrm.org>

Updating more documentation. Almost anyone could build an iso now!

diff --git a/doc/creating-an-iso b/doc/creating-an-iso
index f0b6007..28294a9 100644
--- a/doc/creating-an-iso
+++ b/doc/creating-an-iso
@@ -1,25 +1,42 @@
Making an iso quickly, very-brief notes
These should be extended.
+
1. grab a chroot tarball
+
2. unpack, chroot in, cast linux (call this chroot iso-chroot)
* mount --bind /dev dev
* mount --bind /dev/pts dev/pts
* mount --bind /proc proc
+ ! Do not forget to build in initrd support!!!
+
3. clean up a bit (rm linux source tree, binary cache, linux source)
* rm /var/spool/sorcery/*
* rm /var/cache/sorcery/*
* rm /usr/src/linux* -rf
+
4. copy the chroot (one copy for the iso, one the system the user will
install) (call second chroot system-chroot)
* umount dev/pts dev proc
+
5. copy the contents of the "iso" dir into iso-chroot
+
6. copy the contents of the "system" dir into system-chroot
* sanitize sorcery - set prompt delay, and others to default
+
7. tar up system-chroot and copy it into iso-chroot
+
7.5 Chroot back into iso-chroot to create the initrd
* be sure to set the appropriate kernel version in the mkinitrd script
+ * Also hard-code the path into the mkinitrd script otherwise things don't
work...
+
8. run ./scripts/mkinitrd to create an initrd.gz
+ * Host machine needs loopback support
+
9. copy that into iso-chroot/boot/
+
A. make sure iso-chroot/isolinux/isolinux.cfg contains the right name for the
kernel image and the right (uncompressed) initrd size
+ * If using static dev, run MAKEDEV generic in the chroot's /dev/ also
telinit bootdisable coldplug and udevd
+ * If using udev, change the chroot's /etc/sysconfig/devices file to say
DEVICES=udev
+
B. create an iso from your iso-chroot, for example:
mkisofs -quiet -R -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -o smgl-0.0.0.iso iso-chroot



  • [SM-Commit] GIT changes to master cauldron by David Kowis (bd67cb3a2f8ab94b441e8045cd1f9833e5279c17), David Kowis, 07/10/2007

Archive powered by MHonArc 2.6.24.

Top of Page