further improved linuxrc: frst try iso9660, a trygets function, use waitpid,
trywait function and a tryexeclp macro, exchangeable
tar compression program argument ...
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2488 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
update syslinux (2.0.2 -> 2.0.8)
added raidtools (and dep popt) and mdadm to bootdisk
adapted build_stage2.sh for raidtools (and dep popt) and mdadm
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2394 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
stage2small-progs.diff: include disktype _and tail_ (I
somehow missed it in the previous patch) in stage 2 small.
Incremential: apply after bzip2-ed-bootdisk only.
linuxrc-opt.diff: optimize the device scanning a bit.
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2047 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
Written by me to link bash against libreadline.so, this
option worked while both libreadline.{a,so*} were in /lib
(well it never actually worked, ncurses failed). Now that
.so is in /lib and .a in /usr/lib, bash is always linked
against .a, so the option desn't make any sense - the .a
included in bash works just as well.
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2001 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
Looking at lsof(1) output, it seems that unmounting of
/old_root/dev fails because of the kernel daemons keeping
/dev/console open, which doesn't seem very proper to me.
No matter, the right way to move a filesystem IMO is with
mount --move, not by umounting-then-mounting it. The only
drawback is that MS_MOVE has to be #defined [to 8192].
Mounting initrd's /bin as /usr/local/bin was quite dumb
of me I must admit. It's much easier, if needed, to leave
/old_root and put /old_root/bin in $PATH. That's not FHS
compliant, so s/old_root/local/g * if you wish.
2nd_stage_small.tar.gz is created with tar | gzip -9
because it's size is very near the limit (that is, with
mine linked as shared, which currently gives a sig11).
Using .bz2 will be better, if approved by Rene/Clifford.
2nd_stage_small (re)boots/shutdowns with no errors, mount
lists the filesystems mounted properly and /old_root can
be unmounted, so 2nd_stage full should not display errors
as well. Now if there was anybody willing to fix mine...
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1599 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
If PATH is redirected to use the newest build/.../root binaries
available, LD_LIBRARY_PATH should be redirected as well.
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1494 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
bash:
- do not copy doc to docdir - auto-doc does that,
and does it better (I compared the file lists)
bash.conf: do not unpack bash-doc if no auto-doc, unneeded
- support the with-installed-readline option
(ROCKCFG_PKG_BASH_INST_RLL) by (1) passing the confopt and
(2) not linking bash to -lhistory if stage >= 2 (-lhistory
is required for stage <= 1 because of "--disable-readline"
and doesn't make any difference with the bash builtin
readline because it's statically linked).
- dont-link-history.diff: what the name suggests, see .conf
bootdisk/config.in: lock with-installed-readline to 0.
For this option to work, readline-shared must be applied,
or the build will fail if ROCKCFG_PKG_BASH_INST_RLL=1.
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1493 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
linux24/config-500.in: lock LINUX_CUSTCONFIG=1 if config
style none. If it is 0 then linux.cfg is removed, and
'none' fails.
linux24/lx_config.sh: remove make oldconfig if config
style none...
linux24-src/linux24-src.conf: ...and insert it here. We
need a it here to have a nice .config packaged.
bootdisk/config.in: remove the specific linux settings...
bootdisk/kernel.conf: ...and insert them here. That
should work, provided {desktop,server}/kernel.conf does.
It's a nice cleanup IMHO, now CUSTCONFIG/linux.cfg is for
user settings only.
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1383 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
This patch adds stone support to 2nd_stage_small (-text
only, no space for -dialog).
build_stage2.sh: [2nd_stage_small changes only]
- create local/bin to serve as a mountpoint for initrd/bin
- do not copy wget and ip (using the initrd ones)
- copy the programs required by stone and mkreiserfs
- copy the stone files and create a head replacement script
linuxrc.c:
- mount (MS_BIND) initrd's bin under stage 2 /usr/local/bin
- fail if mount fails && /bin/gzip does not exist [= small]
linuxrc2.sh:
- display a different startup message if dialog is missing
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1363 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
LILO options, namely READONLY and XL_SECS. Intended primary
for bootdisks. The take the advantage of there, however,
the bootdisk target lilo must be used when making floppies
(included as makeimages -reroot option).
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1361 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc