Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (d2a6660a6ac197c79242bf979f16bf734bd7568f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Justin Boffemmyer <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (d2a6660a6ac197c79242bf979f16bf734bd7568f)
  • Date: Sat, 22 Mar 2008 16:44:39 -0500

GIT changes to master cauldron by Justin Boffemmyer <flux AT sourcemage.org>:

base/etc/lilo.conf | 25
++++++++++++++++++++++++
iso/usr/share/doc/smgl.install/steps/user-setup | 5 ++--
2 files changed, 28 insertions(+), 2 deletions(-)

New commits:
commit 01ec60e96e73a5b03e2a3ccb49e235b6293c9332
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

base/etc/lilo.conf: new default lilo conf

I went ahead and created a really basic default conf file for lilo.
This will need to be added to (in the way of comment structures) to
help clarify things for users, and perhaps to provide better defaults
than what I have given here. At least this is a start though, and it
will work for a basic system (tested via qemu with the newly released
devel ISO).

commit 24b49cb5d62e7a924f19b4bfe6f4c503b3c3d325
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

steps/user-setup: fixed the useradd instructions

Useradd is really, really broken. In order to get the expected
(correct?) behavior with regards to the homedir to be created, it has
to be manually typed in, in its entirety. This is extremely dumb on
the part of useradd (note that adduser is not really any better).
Also, I added in the -g users stuff. If a user wants to use different
groups, they can modify the command, so having it is better so that
they will know what the option is.

diff --git a/base/etc/lilo.conf b/base/etc/lilo.conf
new file mode 100644
index 0000000..18b3f9b
--- /dev/null
+++ b/base/etc/lilo.conf
@@ -0,0 +1,25 @@
+map=/boot/.map
+lba32
+prompt
+compact
+timeout=50
+
+# This sets the bootup to use the traditional lilo: prompt. You can
+# also use the newer text-menu setup (install=menu) or the bitmap
+# image install (install=bmp). See the lilo.conf man page for more
+# information for these.
+install=text
+
+# This tells lilo to install to the MBR (master boot record) of the
+# first hard drive. Other typical options would include the boot
+# sector of the first partition (boot=/dev/hda1) or setting it for
+# another hard disk (e.g. /dev/sda or /dev/sda1 for scsi).
+boot=/dev/hda
+
+# Change this to whatever boot image you want to boot by default.
+default=smgl
+
+image=/boot/vmlinuz
+ label=smgl
+ root=/dev/hda1
+
diff --git a/iso/usr/share/doc/smgl.install/steps/user-setup
b/iso/usr/share/doc/smgl.install/steps/user-setup
index e4dc329..e7315f7 100644
--- a/iso/usr/share/doc/smgl.install/steps/user-setup
+++ b/iso/usr/share/doc/smgl.install/steps/user-setup
@@ -12,11 +12,12 @@ forget. Also, bear in mind that it can be bypassed with a
screwdriver.):

If you would like to add additional users at this time, you may feel free
to do so by typing the following:
+<<<<<<< HEAD:iso/usr/share/doc/smgl.install/steps/user-setup
useradd -d /home/mbolton -m -g users mbolton
passwd mbolton

-Of course, you may not want to be called mbolton, so replace that with
whatever
-login you want.
+Replace mbolton with whatever login you want. Don't forget to change
+/home/mbolton accordingly. You may also change the group (-g users).

Finally, exit the chroot to return to the installer:
exit



  • [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (d2a6660a6ac197c79242bf979f16bf734bd7568f), Justin Boffemmyer, 03/22/2008

Archive powered by MHonArc 2.6.24.

Top of Page