Andrew Gaffney
bbbfa2b4de
Add good_msg for creating the union mount
16 years ago
Andrew Gaffney
74af3caa68
Pipe stderr for unionfs mount call to /dev/null to supress getcwd message
16 years ago
Andrew Gaffney
41f44b1d42
Call switch_root with full path
16 years ago
Andrew Gaffney
fa9cbeeda8
Call switch_root with 'env -i' to clean out the kernel-defined key/value pairs
16 years ago
Andrew Gaffney
48b282a85d
Skip good_root check for /dev/nfs for gentoo bug #246759
16 years ago
Andrew Gaffney
890382b8e0
Simplify implementation of parse_opt in linuxrc
16 years ago
Andrew Gaffney
abf5986e2b
Small cleanups in unionfs code
16 years ago
Andrew Gaffney
fd24098f08
Add fuse to MODULES_FS
...
Remove direct calls to compile_fuse() and append_fuse()
Disable bincache for fuse, since we don't need any files at runtime from it
16 years ago
Andrew Gaffney
77e70344d3
Replace debug patch with simple patch to add trivial support for -i option to mount/umount
16 years ago
Andrew Gaffney
469be61e0c
Add suid,dev to unionfs mount opts
16 years ago
agaffney
692db1a447
Remove allow_root mount opt, since it conflicts with allow_other
16 years ago
agaffney
9f076e1e68
Change typo in unionfs-fuse mount opt and add -i support to umount
16 years ago
agaffney
7bb2b54414
Enable CONFIG_FEATURE_MTAB_SUPPORT option for busybox
16 years ago
agaffney
bfa0dbb585
Add patch for busybox to add -i option to mount command
16 years ago
agaffney
e4f3b17b3a
Compile unionfs-fuse statically
16 years ago
agaffney
b116df3c98
Make sure that /sbin/unionfs is +x
16 years ago
agaffney
4123ac396c
Correct unionfs-fuse bincache path and clean up debugging code
16 years ago
agaffney
4e38e4d39b
Add -L line into LIB= in Makefile
16 years ago
agaffney
5991612532
Unpack fuse source and modify CFLAGS for unionfs-fuse
16 years ago
agaffney
f29142639e
Unpack unionfs-fuse with -j
16 years ago
agaffney
5ae8f8faea
Call arch_replace and cache_replace on fuse/unionfs-fuse vars
16 years ago
agaffney
8cd74b62f2
Add fuse/unionfs-fuse blocks to genkernel.conf
16 years ago
agaffney
66d51360d0
Actually call compile_fuse() and compile_unionfs_fuse()
16 years ago
agaffney
7b9ba94669
Add back (modified) unionfs code in linuxrc
16 years ago
agaffney
28a88bc953
Add append_fuse() and append_unionfs_fuse() functions
16 years ago
agaffney
c8fd57e3e1
Add compile_fuse() and compile_unionfs_fuse()
16 years ago
agaffney
ac69bec071
Enabling CONFIG_WGET and CONFIG_FEATURE_TAR_BZIP2 for initial support of gentoo bug 211976
16 years ago
Chris Gianelloni
709fade02d
Tagging a 3.4.10.901 release, for testing. Adding periods to ChangeLog to fix syntax hilighting.
16 years ago
Chris Gianelloni
9d4efd55e4
Adding Andrew and Robin to AUTHORS.
17 years ago
agaffney
660069a7bb
Add dummy handler for --config in gen_cmdline.sh for bug 237541
17 years ago
Chris Gianelloni
d283e55be3
Removing scsi_wait_scan from PATA/SATA/SCSI and moving it to its own module group. This allows the module to be loaded last, no matter what combination of disks are in the system, allowing for firmware and such to be loaded before genkernel continues, even when asynchronous SCSI scanning is enabled in the kernel.
17 years ago
agaffney
8b82562975
Enable CONFIG_ROUTE in busy-configs
17 years ago
agaffney
0aa81c3f8e
Enable CONFIG_HOSTNAME in all busy-configs
...
Call 'hostname' with value from DHCP
17 years ago
agaffney
db003a6d50
Disabled CONFIG_DEBUG_INFO in x86{,_64} kconfigs
17 years ago
agaffney
32a427af88
Add README to busybox patches dir
17 years ago
agaffney
3f7b2e8eea
Only apply files from patch dir ending in diff/patch
17 years ago
agaffney
64660f969f
Fix CONSOLE= handling code for bug 232012
17 years ago
agaffney
0a98792990
Remove unneeded files for broken grub code
17 years ago
agaffney
6e47f147d8
Remove broken grub code
17 years ago
agaffney
ea695cec24
Only append splash portion to initramfs if SPLASH is set
17 years ago
agaffney
87e5760f7d
Fix typo in man page, butt -> but
17 years ago
agaffney
2f1aaf4995
Add support to udhcpc.scripts for default route and DNS servers/domain
17 years ago
agaffney
d1cac89e98
Remove check for >=2.6 for mounting sysfs
17 years ago
agaffney
a8d7c7d7d0
Remove check for >=2.6 for 'make prepare'
17 years ago
agaffney
3bec381546
Remove a few more 2.4 kernel support remnants
17 years ago
agaffney
4de21c78df
Cleanup remaining references to ${ARCH}/ without arch/ prefix
17 years ago
agaffney
35384e28c6
Move um/ underneath arch/ where it belongs
17 years ago
Chris Gianelloni
cceaf5e715
Removed some unused dietlibc code.
17 years ago
Chris Gianelloni
676dd5a061
Removed a large chunk of 2.4 kernel support. This will still require some fairly extensive cleaning to completely remove, but I'd say that without a shadow of a doubt, genkernel will not function on 2.4 kernels.
17 years ago
Chris Gianelloni
d37ba965e6
Added a couple more places where I needed to switch INITRD with RAMDISK.
17 years ago
Chris Gianelloni
d5b1e6a985
Removed all references to an initrd and renamed most initr{d,amfs} stuff to simply 'ramdisk' to simplify things for the future.
17 years ago
Chris Gianelloni
1ffb37f09c
Moving files from generic to defaults, since they are the defaults used globally.
17 years ago
Chris Gianelloni
73e34e757e
Added the modules directory, which will be used to store the built-in modules and also for external entities to add their own modules and hooks.
17 years ago
Chris Gianelloni
27407030ff
Added a defaults directory to store default files for builds. These are overridden by architecture or module specific parameters. This should end up reducing the amount of architecture-specific files needed, especially as most of them have files which are (nearly) identical.
17 years ago
Chris Gianelloni
d544d57ce1
Moved architecture folders under the arch subfolder.
17 years ago
Chris Gianelloni
1d170fb865
Rename kernel-config-2.6 to kernel-config, since we no longer support 2.4 kernels. This is genkernel 3.4.10 for release.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@679 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
3a23a46d3b
Sync kernel configs from releng/trunk/releases/2008.0/kconfig and remove some unused configs.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@678 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
850637bc4f
Move setup_keymap call to before LUKS setup
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@677 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
751d2149d1
Store pre-oldconfig busybox .config for use in bincache comparison
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@676 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
80fb4b4d11
Add nomodules kernel commandline parameter to disable loading of modules
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@675 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
1a90fbf8f1
Move distfile cache to /var/cache/genkernel/src and add check to make sure all distfiles are present
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@674 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
e0b7ea5ee7
Added a few SATA and PATA drivers to modules_load.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@673 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
cf240a1199
Updated the modules_load files.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@672 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
fd7e13ec87
Enable keymap code when keymap is set on the kernel command line. This is genkernel 3.4.10_pre10 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@671 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
afc2688b2a
We need to unset keymap if it doesn't match to keep from hitting an infinite loop.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@670 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
51c769f243
Updated the keymap-handling code so it will be installed and displayed without using --do-auto-keymap with a patch from Florian Schilhabel <fernsehleo@gmx.net> for bug #215822 . Also, added a keymap= command line option to allow setting keymap from the bootloader, also from Florian.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@669 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
0c3ba5d628
Change from using a directory check to a file check. This should fix bug #215822 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@668 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
4593814da8
Move removable storage like USB and firewire after traditional fixed storage like PATA/SATA/SCSI for bug #217347 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@667 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
113af0d25c
Updated TODO. This is 3.4.10_pre9 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@666 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
a6823c3825
Added scsi to the default list of modules to load.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@665 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
2595125846
Set CMD_KEYMAP to default to yes, so it's enabled unless specifically disabled
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@664 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
cc57e07bb8
Added a patch to skip device nodes for devices if at least one partition exists on the device. This aids in LiveUSB usage and is for bug #212794 . This is genkernel 3.4.10_pre8.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@663 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
4187cff9f1
Split up /dev node checks into console/null and tty1
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@662 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
3bfe8144c0
Remove initrd-specific code from linuxrc
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@661 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
80b3557d0b
Uncomment ppc/ppc64->powerpc code in set_kernel_arch, since it appears to actually be necessary as of 2.6.24-gentoo-r4
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@660 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
3c4236f34b
Add patch from ebuild in-tree to fix build issue with signals on hppa
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@659 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
3128691111
Get rid of --initramfs option as it doesn't do anything anymore
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@658 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
5a08f3bce3
Removing pkg directory, since it is no longer necessary. From now on, we'll just pull the tarballs from DISTDIR directly, and we've already moved our caches to /var/tmp/genkernel, so there's nothing left to keep here. This is genkernel 3.4.10_pre7 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@656 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
a5165c526b
Copy the original kconfig with a different name than the one used to build
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@655 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
d52589997e
Include original kconfig in kerncache
...
If original kconfig exists in the kerncache, use that for comparison to the current kconfig
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@654 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
4304d907ba
Switch back to building kernel first
...
Optionally build the kernel a second time if we're integrating the initramfs
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@653 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
c205eaa040
Clean up the modules_load files and add qla2xxx. This is genkernel 3.4.10_pre6 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@652 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
f489b904ad
Stick CONFIG_INITRAMFS_ROOT_GID in the .config, too
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@651 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
fb88e10ff6
Remove existing CONFIG_INITRAMFS_SOURCE line and write new one as well as CONFIG_INITRAMFS_ROOT_UID line
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@650 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
af3fd101f0
Change sed delimeter
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@649 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
0612894e1b
We should edit the copy of the kconfig instead of the source file
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@648 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
5fcaaea2f8
Instead of copying the initramfs into the kernel tree, we now sed the kconfig to point CONFIG_INITRAMFS_SOURCE to the generated image
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@647 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
7842579a94
Add scsi_wait_scan to sparc64's MODULES_SCSI
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@646 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
72e8e5d04c
Add a check after mounting NEW_ROOT to see if /dev exists and /sbin/init is executable before moving on
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@645 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
d1313f5ecc
Change the location we copy the intiramfs to for integrated initramfs
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@644 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
2d0c095a79
Revert last commit as it wasn't a problem
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@643 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
a5aa9035a3
Remove -c "/dev/console" from switch_root command
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@642 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
2b0ce04048
Add missing $ to {NORMAL} for broken /dev message
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@641 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
858f4312e5
Spacing cleanups in gen_package.sh
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@640 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
9ef70b96fd
Remove unsetting of ARCH for callback and change set_kernel_arch debug to use print_info
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@639 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
db54f339a4
It helps to actually add the handling for the --integrated-initramfs option
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@638 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
c1802ecec6
Use echo instead of print
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@637 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
ecd89a5e6d
Add debug code for set_kernel_arch
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@636 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
f6f97cb650
Add debugging code to show ARCH when running callback
...
Unset ARCH when running callback and restore afterwards
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@635 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
d117f014dd
Move set_kernel_arch() call to after determine_real_args() so that get_KV() has populated the vars we need
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@634 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago