[arch-commits] Commit in linux/trunk (linux.install)
Date: Tuesday, November 27, 2018 @ 19:09:49 Author: heftig Revision: 340496 linux.install: Add modeline Modified: linux/trunk/linux.install ---+ linux.install |2 ++ 1 file changed, 2 insertions(+) Modified: linux.install === --- linux.install 2018-11-27 19:09:45 UTC (rev 340495) +++ linux.install 2018-11-27 19:09:49 UTC (rev 340496) @@ -8,3 +8,5 @@ rm -f boot/initramfs-%PKGBASE%.img rm -f boot/initramfs-%PKGBASE%-fallback.img } + +# vim:set ft=sh ts=8 sts=2 sw=2 et:
[arch-commits] Commit in linux/trunk (linux.install)
Date: Sunday, January 26, 2014 @ 10:07:23 Author: thomas Revision: 204730 Add warning about missing keyboard support. Modified: linux/trunk/linux.install ---+ linux.install |6 ++ 1 file changed, 6 insertions(+) Modified: linux.install === --- linux.install 2014-01-26 08:54:46 UTC (rev 204729) +++ linux.install 2014-01-26 09:07:23 UTC (rev 204730) @@ -22,6 +22,12 @@ depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." mkinitcpio -p linux${KERNEL_NAME} + + if [ $(vercmp $2 3.13) -lt 0 ]; then +echo ">>> WARNING: AT keyboard support is no longer built into the kernel." +echo ">>> In order to use your keyboard during early init, you MUST" +echo ">>> include the 'keyboard' hook in your mkinitcpio.conf." + fi } post_remove() {
[arch-commits] Commit in linux/trunk (linux.install)
Date: Monday, June 17, 2013 @ 16:28:01 Author: tpowa Revision: 188659 remove not needed checks in install file Modified: linux/trunk/linux.install ---+ linux.install | 38 ++ 1 file changed, 2 insertions(+), 36 deletions(-) Modified: linux.install === --- linux.install 2013-06-17 12:30:42 UTC (rev 188658) +++ linux.install 2013-06-17 14:28:01 UTC (rev 188659) @@ -4,49 +4,15 @@ KERNEL_NAME= KERNEL_VERSION= -# set a sane PATH to ensure that critical utils like depmod will be found -export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' - post_install () { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." mkinitcpio -p linux${KERNEL_NAME} - - # compat symlinks for the official kernels only - if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-lts" ]; then -loaders="$(find /boot -name syslinux.cfg -or -name extlinux.conf -or -name grub.cfg -or -name menu.lst)" -[ -f /etc/lilo.conf ] && loaders="$loaders /etc/lilo.conf" -if [ -n "${loaders}" ] && grep -q -e vmlinuz26 -e kernel26.img -e kernel26-fallback.img $loaders; then - # add compat symlinks for the initramfs images - ln -sf initramfs-linux${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img - ln -sf initramfs-linux${KERNEL_NAME}-fallback.img \ -boot/kernel26${KERNEL_NAME}-fallback.img - ln -sf vmlinuz-linux${KERNEL_NAME} /boot/vmlinuz26${KERNEL_NAME} -fi - fi } post_upgrade() { - pacman -Q grub &>/dev/null - hasgrub=$? - pacman -Q grub-common &>/dev/null - hasgrub2=$? - pacman -Q lilo &>/dev/null - haslilo=$? - # reminder notices - if [ $haslilo -eq 0 ]; then -echo ">>>" -if [ $hasgrub -eq 0 -o $hasgrub2 -eq 0 ]; then - echo ">>> If you use the LILO bootloader, you should run 'lilo' before rebooting." -else - echo ">>> You appear to be using the LILO bootloader. You should run" - echo ">>> 'lilo' before rebooting." -fi -echo ">>>" - fi - if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then echo "WARNING: /boot appears to be a separate partition but is not mounted." fi @@ -60,6 +26,6 @@ post_remove() { # also remove the compat symlinks - rm -f boot/{initramfs-linux,kernel26}${KERNEL_NAME}.img - rm -f boot/{initramfs-linux,kernel26}${KERNEL_NAME}-fallback.img + rm -f boot/initramfs-linux${KERNEL_NAME}.img + rm -f boot/initramfs-linux${KERNEL_NAME}-fallback.img }
[arch-commits] Commit in linux/trunk (linux.install)
Date: Tuesday, April 30, 2013 @ 12:25:03 Author: tpowa Revision: 183985 upgpkg: linux 3.9-2 fix ZCACHE and RAMSTER Modified: linux/trunk/linux.install ---+ linux.install |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: linux.install === --- linux.install 2013-04-30 09:46:21 UTC (rev 183984) +++ linux.install 2013-04-30 10:25:03 UTC (rev 183985) @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=3.9.0-1-ARCH +KERNEL_VERSION=3.9.0-2-ARCH # set a sane PATH to ensure that critical utils like depmod will be found export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[arch-commits] Commit in linux/trunk (linux.install)
Date: Wednesday, February 20, 2013 @ 14:48:57 Author: tpowa Revision: 178343 upgpkg: linux 3.8-1 bump to 3.8 series Modified: linux/trunk/linux.install ---+ linux.install |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: linux.install === --- linux.install 2013-02-20 12:32:29 UTC (rev 178342) +++ linux.install 2013-02-20 13:48:57 UTC (rev 178343) @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=3.7.9-1-ARCH +KERNEL_VERSION=3.8.0-1-ARCH # set a sane PATH to ensure that critical utils like depmod will be found export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[arch-commits] Commit in linux/trunk (linux.install)
Date: Wednesday, August 22, 2012 @ 15:36:47 Author: tpowa Revision: 165521 fix grub2 package name Modified: linux/trunk/linux.install ---+ linux.install |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: linux.install === --- linux.install 2012-08-22 17:11:02 UTC (rev 165520) +++ linux.install 2012-08-22 19:36:47 UTC (rev 165521) @@ -31,7 +31,7 @@ post_upgrade() { pacman -Q grub &>/dev/null hasgrub=$? - pacman -Q grub2-common &>/dev/null + pacman -Q grub-common &>/dev/null hasgrub2=$? pacman -Q lilo &>/dev/null haslilo=$?
[arch-commits] Commit in linux/trunk (linux.install)
Date: Saturday, June 16, 2012 @ 20:42:06 Author: dreisner Revision: 161954 set a sane PATH for the install scriptlet Hopefully this prevents people from shooting themselves in the face when they, or something else, decides that /sbin doesn't belong here. Modified: linux/trunk/linux.install ---+ linux.install |3 +++ 1 file changed, 3 insertions(+) Modified: linux.install === --- linux.install 2012-06-16 23:09:26 UTC (rev 161953) +++ linux.install 2012-06-17 00:42:06 UTC (rev 161954) @@ -4,6 +4,9 @@ KERNEL_NAME= KERNEL_VERSION=3.4.2-2-ARCH +# set a sane PATH to ensure that critical utils like depmod will be found +export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' + post_install () { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..."
[arch-commits] Commit in linux/trunk (linux.install)
Date: Monday, May 14, 2012 @ 01:17:01 Author: tpowa Revision: 158981 fix grub2 check Modified: linux/trunk/linux.install ---+ linux.install |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: linux.install === --- linux.install 2012-05-14 04:41:15 UTC (rev 158980) +++ linux.install 2012-05-14 05:17:01 UTC (rev 158981) @@ -28,7 +28,7 @@ post_upgrade() { pacman -Q grub &>/dev/null hasgrub=$? - pacman -Q grub2 &>/dev/null + pacman -Q grub2-common &>/dev/null hasgrub2=$? pacman -Q lilo &>/dev/null haslilo=$?
[arch-commits] Commit in linux/trunk (linux.install)
Date: Thursday, February 16, 2012 @ 05:31:17 Author: tpowa Revision: 150282 upgpkg: linux 3.2.6-2 added inotify support, added ipv6 builtin, removed old framebuffer devices Modified: linux/trunk/linux.install ---+ linux.install |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: linux.install === --- linux.install 2012-02-16 09:18:00 UTC (rev 150281) +++ linux.install 2012-02-16 10:31:17 UTC (rev 150282) @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=3.2.6-1-ARCH +KERNEL_VERSION=3.2.6-2-ARCH post_install () { # updating module dependencies
[arch-commits] Commit in linux/trunk (linux.install)
Date: Tuesday, January 10, 2012 @ 08:00:05 Author: thomas Revision: 146394 linux: remove second part of the /boot warning. Modified: linux/trunk/linux.install ---+ linux.install |1 - 1 file changed, 1 deletion(-) Modified: linux.install === --- linux.install 2012-01-10 11:39:59 UTC (rev 146393) +++ linux.install 2012-01-10 13:00:05 UTC (rev 146394) @@ -46,7 +46,6 @@ if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then echo "WARNING: /boot appears to be a separate partition but is not mounted." -echo " You probably just broke your system. Congratulations." fi # updating module dependencies
[arch-commits] Commit in linux/trunk (linux.install)
Date: Tuesday, January 3, 2012 @ 18:49:43 Author: dreisner Revision: 145905 refactor /boot-not-mounted detection to use util-linux tools Modified: linux/trunk/linux.install ---+ linux.install |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Modified: linux.install === --- linux.install 2012-01-03 23:21:58 UTC (rev 145904) +++ linux.install 2012-01-03 23:49:43 UTC (rev 145905) @@ -44,11 +44,9 @@ echo ">>>" fi - if grep "^[^#]*[[:space:]]/boot" etc/fstab 2>&1 >/dev/null; then -if ! grep "[[:space:]]/boot" etc/mtab 2>&1 >/dev/null; then - echo "WARNING: /boot appears to be a separate partition but is not mounted." - echo " You probably just broke your system. Congratulations." -fi + if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then +echo "WARNING: /boot appears to be a separate partition but is not mounted." +echo " You probably just broke your system. Congratulations." fi # updating module dependencies
[arch-commits] Commit in linux/trunk (linux.install)
Date: Tuesday, January 3, 2012 @ 16:24:33 Author: ibiru Revision: 145900 fix misspelling FS#27811 Modified: linux/trunk/linux.install ---+ linux.install |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: linux.install === --- linux.install 2012-01-03 21:23:13 UTC (rev 145899) +++ linux.install 2012-01-03 21:24:33 UTC (rev 145900) @@ -46,7 +46,7 @@ if grep "^[^#]*[[:space:]]/boot" etc/fstab 2>&1 >/dev/null; then if ! grep "[[:space:]]/boot" etc/mtab 2>&1 >/dev/null; then - echo "WARNING: /boot appears to be a seperate partition but is not mounted." + echo "WARNING: /boot appears to be a separate partition but is not mounted." echo " You probably just broke your system. Congratulations." fi fi
[arch-commits] Commit in linux/trunk (linux.install)
Date: Tuesday, November 1, 2011 @ 08:46:39 Author: thomas Revision: 141657 linux: Tom think the instructions to recover might fail. Don't provide any. Modified: linux/trunk/linux.install ---+ linux.install |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: linux.install === --- linux.install 2011-11-01 10:26:35 UTC (rev 141656) +++ linux.install 2011-11-01 12:46:39 UTC (rev 141657) @@ -46,9 +46,8 @@ if grep "^[^#]*[[:space:]]/boot" etc/fstab 2>&1 >/dev/null; then if ! grep "[[:space:]]/boot" etc/mtab 2>&1 >/dev/null; then - echo "WARNING: /boot appears to be a seperate partition but is not mounted" - echo " This is most likely not what you want. Please mount your /boot" - echo " partition and reinstall the kernel unless you are sure this is OK" + echo "WARNING: /boot appears to be a seperate partition but is not mounted." + echo " You probably just broke your system. Congratulations." fi fi
[arch-commits] Commit in linux/trunk (linux.install)
Date: Saturday, July 23, 2011 @ 17:00:45 Author: tpowa Revision: 132375 fix-absolute-paths-in-install-scriptlet.patch Modified: linux/trunk/linux.install ---+ linux.install | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) Modified: linux.install === --- linux.install 2011-07-23 19:42:07 UTC (rev 132374) +++ linux.install 2011-07-23 21:00:45 UTC (rev 132375) @@ -7,15 +7,14 @@ post_install () { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." - /sbin/depmod ${KERNEL_VERSION} + depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - /sbin/mkinitcpio -p linux${KERNEL_NAME} + mkinitcpio -p linux${KERNEL_NAME} # add compat symlinks for the initramfs images - ln -sf initramfs-linux${KERNEL_NAME}.img \ - ${pkgdir}/boot/kernel26${KERNEL_NAME}.img + ln -sf initramfs-linux${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img ln -sf initramfs-linux${KERNEL_NAME}-fallback.img \ - ${pkgdir}/boot/kernel26${KERNEL_NAME}-fallback.img +boot/kernel26${KERNEL_NAME}-fallback.img } post_upgrade() { @@ -37,8 +36,8 @@ echo ">>>" fi - if grep "^[^#]*[[:space:]]/boot" /etc/fstab 2>&1 >/dev/null; then -if ! grep "[[:space:]]/boot" /etc/mtab 2>&1 >/dev/null; then + if grep "^[^#]*[[:space:]]/boot" etc/fstab 2>&1 >/dev/null; then +if ! grep "[[:space:]]/boot" etc/mtab 2>&1 >/dev/null; then echo "WARNING: /boot appears to be a seperate partition but is not mounted" echo " This is most likely not what you want. Please mount your /boot" echo " partition and reinstall the kernel unless you are sure this is OK" @@ -47,13 +46,13 @@ # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." - /sbin/depmod ${KERNEL_VERSION} + depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - /sbin/mkinitcpio -p linux${KERNEL_NAME} + mkinitcpio -p linux${KERNEL_NAME} } post_remove() { # also remove the compat symlinks - rm -f /boot/{initramfs-linux,kernel26}${KERNEL_NAME}.img - rm -f /boot/{initramfs-linux,kernel26}${KERNEL_NAME}-fallback.img + rm -f boot/{initramfs-linux,kernel26}${KERNEL_NAME}.img + rm -f boot/{initramfs-linux,kernel26}${KERNEL_NAME}-fallback.img }
[arch-commits] Commit in linux/trunk (linux.install)
Date: Saturday, July 23, 2011 @ 06:51:50 Author: tpowa Revision: 132356 fix .install linux name Modified: linux/trunk/linux.install ---+ linux.install |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: linux.install === --- linux.install 2011-07-23 10:45:26 UTC (rev 132355) +++ linux.install 2011-07-23 10:51:50 UTC (rev 132356) @@ -47,6 +47,6 @@ } post_remove() { - rm -f /boot/initramfs-ARCH${KERNEL_NAME}.img - rm -f /boot/initramfs-ARCH${KERNEL_NAME}-fallback.img + rm -f /boot/initramfs-linux${KERNEL_NAME}.img + rm -f /boot/initramfs-linux${KERNEL_NAME}-fallback.img }
[arch-commits] Commit in linux/trunk (linux.install)
Date: Saturday, July 23, 2011 @ 06:43:32 Author: tpowa Revision: 132354 add brackets to install file Modified: linux/trunk/linux.install ---+ linux.install |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: linux.install === --- linux.install 2011-07-23 10:34:28 UTC (rev 132353) +++ linux.install 2011-07-23 10:43:32 UTC (rev 132354) @@ -7,7 +7,7 @@ post_install () { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." - /sbin/depmod $KERNEL_VERSION + /sbin/depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." /sbin/mkinitcpio -p linux${KERNEL_NAME} } @@ -41,7 +41,7 @@ # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." - /sbin/depmod $KERNEL_VERSION + /sbin/depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." /sbin/mkinitcpio -p linux${KERNEL_NAME} }
[arch-commits] Commit in linux/trunk (linux.install linux.preset)
Date: Friday, July 22, 2011 @ 10:58:46 Author: tpowa Revision: 132295 trying to finish everything Modified: linux/trunk/linux.install linux/trunk/linux.preset ---+ linux.install | 96 +++- linux.preset |6 +-- 2 files changed, 15 insertions(+), 87 deletions(-) Modified: linux.install === --- linux.install 2011-07-22 14:20:24 UTC (rev 132294) +++ linux.install 2011-07-22 14:58:46 UTC (rev 132295) @@ -17,7 +17,15 @@ echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"; echo "" echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - /sbin/mkinitcpio -p kernel26${KERNEL_NAME} + /sbin/mkinitcpio -p linux${KERNEL_NAME} + # compat symlinks + loaders="$(find /boot -name syslinux.cfg -or -name extlinux.conf -or -name grub.cfg -or -name menu.lst)" + [ -f /etc/lilo.conf ] && loaders="$loaders /etc/lilo.conf" + if grep -q -e vmlinuz26 -e kernel26.img -e kernel26-fallback.img $loaders; then +ln -sf /boot/initramfs-ARCH.img /boot/kernel26.img +ln -sf /boot/vmlinuz-ARCH /boot/vmlinuz26 +ln -sf /boot/initramfs-ARCH-fallback.img /boot/kernel26-fallback.img + fi } post_upgrade() { @@ -47,101 +55,21 @@ fi fi - if [ "`vercmp $2 2.6.13`" -lt 0 ]; then -# important upgrade notice -echo ">>>" -echo ">>> IMPORTANT KERNEL UPGRADE NOTICE" -echo ">>> ---" -echo ">>> As of kernel 2.6.13, DevFS is NO LONGER AVAILABLE!" -echo ">>> If you still use DevFS, please make the transition to uDev before" -echo ">>> rebooting. If you really need to stay with DevFS for some reason," -echo ">>> then you can manually downgrade to an older version:" -echo ">>>" -echo ">>> # pacman -U http://archlinux.org/~judd/kernel/kernel26-scsi-2.6.12.2-1.pkg.tar.gz"; -echo ">>>" -echo ">>> If you choose to downgrade, don't forget to add kernel26-scsi to your" -echo ">>> IgnorePkg list in /etc/pacman.conf" -echo ">>>" -echo ">>> (NOTE: The following portion applies to uDev users as well!)" -echo ">>>" -echo ">>> If you use any DevFS paths in your GRUB menu.lst, then you will not" -echo ">>> be able to boot! Change your root= parameter to use the classic" -echo ">>> naming scheme." -echo ">>>" -echo ">>> EXAMPLES:" -echo ">>> - change root=/dev/discs/disc0/part3 to root=/dev/sda3" -echo ">>> - change root=/dev/md/0 to root=/dev/md0" -echo ">>>" - fi - # generate new init ramdisk - if [ "`vercmp $2 2.6.18`" -lt 0 ]; then -echo ">>> --" -echo ">>> | WARNING: |" -echo ">>> |mkinitrd is not supported anymore in kernel >=2.6.18 series!|" -echo ">>> | Please change to Mkinitcpio setup.|" -echo ">>> --" -echo ">>>" - fi # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." /sbin/depmod $KERNEL_VERSION echo ">>> MKINITCPIO SETUP" echo ">>> " - if [ "`vercmp $2 2.6.18`" -lt 0 ]; then -echo ">>> Please change your bootloader config files:" -echo ">>> Grub: /boot/grub/menu.lst | Lilo: /etc/lilo.conf" -echo "" -echo "| - initrd26.img to kernel26${KERNEL_NAME}.img |" -echo "| - initrd26-full.img to kernel26${KERNEL_NAME}-fallback.img |" -echo "" - fi - if [ "`vercmp $2 2.6.19`" -lt 0 ]; then -echo "" -echo ">>> New PATA/IDE subsystem - EXPERIMENTAL" -echo ">>> --" -echo ">>> To use the new pata drivers, change the 'ide' hook " -echo ">>> to 'pata' in /etc/mkinicpio.conf HOOKS=" -echo ">>> The new system changes: /dev/hd? to /dev/sd?" -echo ">>> Don't forget to modify GRUB, LILO and fstab to the" -echo ">>> new naming system. " -echo ">>> eg: hda3 --> sda3, hdc8 --> sdc8" -echo "" -echo ">>> piix/ata_piix (Intel chipsets) - IMPORTANT" -echo "--" -echo ">>> If you have enabled ide/pata/sata HOOKs in /etc/mkinitcpio.conf" -echo ">>> the 'ata_piix' module will be used." -echo ">>> This may cause your devices to shift names, eg:" -echo ">>> - IDE: devices from hd? to sd?" -echo ">>> - SATA: sda might shift to sdc if you have 2 other disks on a PIIX IDE port." -echo ">>> To check if this will affect you, check 'mkinitcpio -M' for piix/ata_piix" -echo "" - fi - echo ">>> If you use LVM2, Encrypted root or software RAID," echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ." echo ">>> More information about mkinitcpio setup can be found here:" echo ">>> http://wiki.archlinux.org/index.php/Mkinitcp