summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-08MODULES=dep fix ps3 supportmaximilian attems
Debian never shipped the PS3PF legacy plattform, only retain the relevant upstream accepted ps3 plattform drivers.
2008-04-08hook-functions: Add atl1, cxgb3, e1000e, igb, ipg, niu, sky2 list of net ↵maximilian attems
modules added to MODULES=most the net section was missing quite a lot of the newer net driver, add them all per hand. as we can't just ship drivers/net.
2008-04-08update-initramfs: Rename function according to reliability fix.maximilian attems
purpose of function changed, now we keep the old initramfs on the real path until mkinitramfs run finished.
2008-04-08update-initramfs: Initramfs generation reliability fixes.Luke Yelavich
Attached is a patch to improve the way update-initramfs handles the generating of new or updated initramfs images for kernels. It puts in place a few measures to ensure that if there is not enough disk space on /boot, a previous initramfs is still in tact, to allow the booting of that kernel. The patch applies against current git head. See the Ubuntu specification found at the following URL for more information: https://wiki.ubuntu.com/HardyInitramfsErrorHandling This patch does the following: * When generating a new initramfs, instead of copying the old initramfs to a backup file, it hard links it instead, so no more space is used than necessary. it only copies to the backup file in the event that the filesystem on /boot doesn't support hard links, eg FAT32 partitions. * A new file is used to generate the initramfs. If the generation succeeds, it is moved to the original initramfs's location, ready to use. If it fails, the original initramfs is not affected, allowing it to be used at boot. [ wrap on long line -maks ]
2008-04-07resume: Add support for resume_offset swap file suspend to disk.maximilian attems
Parse cmdline for resume_offset, export it and pass it to the klibc resume binary. Based on a patch by Alan Jenkins <alan-jenkins@tuffmail.co.uk>. Bonus small codingstyle clean up of local-premount/resume.
2008-04-02configure_networking(): guard against unset "${DEVICE}"maximilian attems
found on testing that configure_networking() shouldn't make assumption that ${DEVICE} is really already set. this still allows to bail out if device is passed and set.
2008-04-02update-initramfs: use dpkg-triggerJoey Hess
This is a lightly modified version of Ian Jackson's original patch, incorporating maximilian attems's comments. dh_installdeb automatically installs the triggers file, so the rules file does not need to be changed.
2008-04-02ps3 nuke useless hardcoded initramfs script.maximilian attems
udev takes care to load the relevant modules. also PS3PF never had landed in debian thus pretty useless to take care of it just nuke it and be happy that udev loading is fixed since 2.6.23-rc1.
2008-03-31ps3: load the newer modules.maximilian attems
based on a patch by Luke Yelavich <luke.yelavich@canonical.com>.
2008-03-31scripts/functions: fix configure_networking() for multiple interfaces.maximilian attems
IPOPTS can be assumed to get passed :::::: and thus configure any possible interface. we have thus also to source the relevant ipconfig output :) based on a patch by Michal Sojka <sojkam1@fel.cvut.cz>: "If I want several computers to boot from the same ramdisk (with NFS root) and some computers have multiple network interfaces, the DEVICE variable can't be set to a specific value (e.g. eth0). Ipconfig from klibc supports a mode, where DHCP request is sent to all interfaces and the one receiving the first DHCP offer is used. This perfectly suits my needs, but it can't be used with initramfs scripts because the interface name in not known in advance and the DEVICE variable is set to something like ::::::."
2008-03-30debian/control: Depend on latest klibc for mknod usage.maximilian attems
Previsous changes depend on the latest klibc, thus bump dependency version.
2008-03-30scripts/function: Use mknod directly.maximilian attems
No need to call chmod later on, now that klibc mknod can set permissions.
2008-03-30init: Set proper permissions of /dev/console mknod fallback.maximilian attems
if /dev/console doesn't yet exist it should be created with proper permissions.
2008-03-30init: fix mkdir usage.maximilian attems
klibc mkdir has only the short option, use that.
2008-03-29manpages: fix hyphen-used-as-minus-signmaximilian attems
properly escape minus signs to make them easily pastable.
2008-03-25framebuffer: Leave tty devices for udev too.maximilian attems
udev creates tty devices too, in the case of not using udev, we need to ship more anyway, so no need to worry about that right now.
2008-03-25framebuffer: Let udev create fb devices.maximilian attems
nuke fb device mknod creation as udev creates the fb device nodes. suggested by waldi. positive test on qemu with usplash. let's see if we get a bad interaction with usplash and vga=XXX boots.
2008-03-22Ignore lintian warnings about empty directories.maximilian attems
These warnings are harmless and initramfs-tools wants to provide this directory structure for other users. scripts are to be placed there and dir existence is assumed.
2008-03-16mkinitramfs: Drop gzip -9 option.maximilian attems
Doubles the speed of mkinitramfs small size loss ~ 1%. Suggested since some time by waldi and found in Ubuntu too now.
2008-03-16debian/control: s/XS-Vcs/Vcs/maximilian attems
Those fields are official dpkg supported, so just use them.
2008-03-16init: export ROOTFLAGS + ROOTFSTYPE.maximilian attems
be more consistent on exporting *all* relevant ROOT* variables, thanks to Sten Spans <sten@blinkenlights.nl> for pointing that out.
2008-02-15configure_network(): do nothing if device already configureddebian@x.ray.net
This patch is part of three patches (initramfs-tools, cryptsetup, dropbear) which enable mkinitramfs to create initramfs that provide the ability to log in and unlock a cryptroot during the boot process from remote via ssh. Calling configure_networking from /scripts/functions might appear more than once, so just try if it hasn't been done/wasn't successful yet. Check that by testing for existence of /tmp/net-$DEVICE.conf which is created by ipconfig.
2008-02-12release 0.91emaximilian attems
2008-01-05update-initramfs: fix ro-mounted /boot check (closes: #458772)Daniel Reichelt
Hi Kernel-Team, i stumbled over this bug when I wanted to update my initrd while I had some isos loop-mounted like this: $ cat /proc/mounts |grep boot /dev/hda1 /boot ext2 rw 0 0 /dev/loop57 /srv/pub/iso_loop/sys/bootrescue-cd-20071129-59 iso9660 ro 0 0 /dev/loop58 /srv/pub/iso_loop/sys/bootrescue-cd-dev iso9660 ro 0 0 /dev/loop59 /srv/pub/iso_loop/sys/bootrescue-dvd-20071129-59 iso9660 ro 0 0 /dev/loop60 /srv/pub/iso_loop/sys/bootrescue-dvd-dev iso9660 ro 0 0 The check for a ro-mounted /boot partition was falsly triggered by the mount targets of the iso-images. As you can see in the patch attached, for the conditional awk output to work as desired, another pair of hyphen enclosing the awk match calls is required. HTH, Daniel Reichelt
2007-12-26release 0.91dmaximilian attems
2007-12-26local-premount/resume: coding style fixes.maximilian attems
2007-12-26Update to newer standards version without changes.maximilian attems
2007-12-26debian/control: Add versioned depends on findutils. (closes: #450888)maximilian attems
it seems backport of current iniramfs-toosl together with linux-images is more frequent then expected. thus just declare that you need newer findutils then sarge available. this can be kicked after lenny release.
2007-12-26MODULES=dep fix for new /dev/md/X naming scheme (closes: #440694).maximilian attems
Using mkinitramfs-kpkg to build the ramdisk. awk: /^md/0/{print substr($5, 1, 3); exit} awk: ^ syntax error mkinitramfs-kpkg failed to create initrd image. Failed to create initrd image. /proc/mdstat naming unchanged, thuse use same awk parsing.
2007-11-28release 0.91cmaximilian attems
2007-11-28init: Don't overwrite boot cmdline arg (closes: #453294)maximilian attems
root nfs needs to check that the boot is not set before setting it. Thanks Thomas Lange <lange@informatik.uni-koeln.de> for report!
2007-11-28update-initramfs: Fix ro /boot partition check (closes: #451151)maximilian attems
Newer kernel in the effort of killing /etc/mtab show mount options, like errors=remount-ro, that is matched for read only. Thanks Jan Niehusmann <jan@gondor.com> for report.
2007-10-04hooks/udevhelper: Adding all /lib/udev on initramfs if missing.maximilian attems
Due to overly strict errexit usage by udev hook a lot might be missing. This is an potential Etch -> Lenny upgrade issue. (closes: 431291) fixes boot failure on UUID and LABEL root for those. it seems much better to add this stupid hook than to pump udev dep. Thanks Michael Prokop <mika@grml.org> for report.
2007-09-12init: fix RESUME hardcodingmaximilian attems
2007-09-09hook-functions: protect sys_walk_modalias()maximilian attems
check that the modalias really exists, otherwise no need to add anything.
2007-09-09mkinitramfs: Add /usr/share/initramfs-tools/conf-hooks.dmaximilian attems
this allows to seperate conf files which needs to land on initramfs and those that should only be run on mkinitramfs.
2007-09-08mkinitramfs: Export MODULES, allows hook script to act accordingly.maximilian attems
this is better then passing some strange prereqs param, as the prereqs is intermixed with boot/hook scripts.
2007-09-08hook-functions: Add sys_walk_modalias() for IDEmaximilian attems
instead of searching non matching sysfs modules strings PIIX_IDE != piix, just look up the modalias. modprobe likes it too ;)
2007-09-08hook-functions: MODULES=dep fix I2O detection.maximilian attems
* missing i2o_block * force_load when !udev
2007-09-08hook-functions: don't force load rootfsmaximilian attems
fstype just detects fine the fs, even when running without udev.
2007-09-08hook-functions: reorder dep_add_modules()maximilian attems
do fstype stuff on top.
2007-09-08changelog: add entry for mika's patchesmaximilian attems
almost ready for release, just missing the hook-conf only dir.
2007-09-08disable quiet on debug bootargMichael Prokop
If you have quiet in your /proc/cmdline you can never reach any debug bootoption anymore.
2007-09-08fix init error messageMichael Prokop
You’ll notice a strange error message due to an empty $init if the rootfs can’t be found.
2007-09-07hook-functions: probe rootfs on auto typemaximilian attems
fix dep_add_modules(), as bonus check rootfs output so that eventual unkown rootfs get reported.
2007-09-07debian/script: Fix syntax of MODULES=dep block.maximilian attems
thanks madduck for reporting the error: [: 39: -q: unexpected operator
2007-09-05scripts/init-top/framebuffer: fix variable nameMichael Prokop
s/fbnum/fbno/
2007-09-04update-initramfs: Don't check for ro /boot inside of a chroot.maximilian attems
debian-live may as well be build on a host with ro /boot
2007-09-04initramfs-tools: split networking code into separate functionVagrant Cascadian
ltsp in ubuntu started using NBD+unionfs+squashfs instead of NFS, and debian-live uses has a network boot methods using cifs in addition to a different way of using NFS (i think it also uses unionfs and maybe squashfs, not just a plain NFS/cifs mount)... so splitting out the networking related code into a separate function would move towards not having forked code for all of these different network boot methods. at least, that's my hope.
2007-09-03init: fix typo from initial implementationmaximilian attems