Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + echo wtf
- + args=()
- + package=0
- + read -r line
- + [[ usr/lib/modules/6.11.3-arch1-1/vmlinuz == \m\k\i\n\i\t\c\p\i\o ]]
- + [[ usr/lib/modules/6.11.3-arch1-1/vmlinuz != */vmlinuz ]]
- + read -r pkgbase
- + case "$1" in
- + remove_kernel linux
- + local pkgbase=linux
- + local preset=/etc/mkinitcpio.d/linux.preset
- + [[ -s /etc/mkinitcpio.d/linux.preset ]]
- + . /etc/mkinitcpio.d/linux.preset
- ++ ALL_kver=/boot/vmlinuz-linux
- ++ PRESETS=('default' 'fallback')
- ++ default_image=/boot/initramfs-linux.img
- ++ fallback_image=/boot/initramfs-linux-fallback.img
- ++ fallback_options='-S autodetect'
- + read_preset linux
- + local pkgbase=linux p preset_image preset_uki preset_kver
- + unsorted_filelist=()
- + unsorted_kernellist=()
- + local unsorted_filelist unsorted_kernellist
- + [[ -v PRESETS ]]
- + for p in "${PRESETS[@]}"
- + declare -n preset_image=default_image preset_uki=default_uki preset_kver=default_kver
- + [[ -v preset_image ]]
- + unsorted_filelist+=("${preset_image}")
- + [[ -v preset_uki ]]
- + [[ -v ALL_uki ]]
- + [[ -v preset_kver ]]
- + [[ -v ALL_kver ]]
- + is_kernelcopy /boot/vmlinuz-linux
- + local preset_kver=/boot/vmlinuz-linux
- + [[ /boot/vmlinuz-linux != /* ]]
- + pacman -Qoq -- /boot/vmlinuz-linux
- + return 0
- + unsorted_filelist+=("${ALL_kver}")
- + unsorted_kernellist+=("${ALL_kver}")
- + for p in "${PRESETS[@]}"
- + declare -n preset_image=fallback_image preset_uki=fallback_uki preset_kver=fallback_kver
- + [[ -v preset_image ]]
- + unsorted_filelist+=("${preset_image}")
- + [[ -v preset_uki ]]
- + [[ -v ALL_uki ]]
- + [[ -v preset_kver ]]
- + [[ -v ALL_kver ]]
- + is_kernelcopy /boot/vmlinuz-linux
- + local preset_kver=/boot/vmlinuz-linux
- + [[ /boot/vmlinuz-linux != /* ]]
- + pacman -Qoq -- /boot/vmlinuz-linux
- + return 0
- + unsorted_filelist+=("${ALL_kver}")
- + unsorted_kernellist+=("${ALL_kver}")
- + filelist=()
- + IFS=
- + read -r -d '' arrayelement
- ++ printf '%s\0' /boot/initramfs-linux.img /boot/vmlinuz-linux /boot/initramfs-linux-fallback.img /boot/vmlinuz-linux
- ++ LC_ALL=C.UTF-8
- ++ sort -uz
- + filelist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + filelist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + filelist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + kernellist=()
- + IFS=
- + read -r -d '' arrayelement
- ++ printf '%s\0' /boot/vmlinuz-linux /boot/vmlinuz-linux
- ++ LC_ALL=C.UTF-8
- ++ sort -uz
- + kernellist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + stat -- /boot/ /efi/ /boot/initramfs-linux-fallback.img /boot/initramfs-linux.img /boot/vmlinuz-linux
- + :
- + rm -f -- /boot/initramfs-linux-fallback.img /boot/initramfs-linux.img /boot/vmlinuz-linux
- + remove_preset linux /etc/mkinitcpio.d/linux.preset
- + [[ -n linux ]]
- + [[ -e /etc/mkinitcpio.d/linux.preset ]]
- + cmp /etc/mkinitcpio.d/linux.preset /dev/fd/63
- ++ sed 's|%PKGBASE%|linux|g' /usr/share/mkinitcpio/hook.preset
- + rm -- /etc/mkinitcpio.d/linux.preset
- + return 0
- + read -r line
- + (( package ))
- + [[ remove == \i\n\s\t\a\l\l ]]
- + echo wtf
- + args=()
- + package=0
- + read -r line
- + [[ usr/lib/modules/6.11.5-arch1-1/vmlinuz == \m\k\i\n\i\t\c\p\i\o ]]
- + [[ usr/lib/modules/6.11.5-arch1-1/vmlinuz != */vmlinuz ]]
- + read -r pkgbase
- + case "$1" in
- + install_kernel linux
- + local pkgbase=linux
- + local kernel preset=/etc/mkinitcpio.d/linux.preset
- + install_preset linux /etc/mkinitcpio.d/linux.preset
- + local pkgbase=linux preset=/etc/mkinitcpio.d/linux.preset
- + [[ ! -e /etc/mkinitcpio.d/linux.preset ]]
- + [[ -e /etc/mkinitcpio.d/linux.preset.pacsave ]]
- + sed 's|%PKGBASE%|linux|g' /usr/share/mkinitcpio/hook.preset
- + install -Dm644 /dev/stdin /etc/mkinitcpio.d/linux.preset
- + [[ -s /etc/mkinitcpio.d/linux.preset ]]
- + . /etc/mkinitcpio.d/linux.preset
- ++ ALL_kver=/boot/vmlinuz-linux
- ++ PRESETS=('default' 'fallback')
- ++ default_image=/boot/initramfs-linux.img
- ++ fallback_image=/boot/initramfs-linux-fallback.img
- ++ fallback_options='-S autodetect'
- + read_preset linux
- + local pkgbase=linux p preset_image preset_uki preset_kver
- + unsorted_filelist=()
- + unsorted_kernellist=()
- + local unsorted_filelist unsorted_kernellist
- + [[ -v PRESETS ]]
- + for p in "${PRESETS[@]}"
- + declare -n preset_image=default_image preset_uki=default_uki preset_kver=default_kver
- + [[ -v preset_image ]]
- + unsorted_filelist+=("${preset_image}")
- + [[ -v preset_uki ]]
- + [[ -v ALL_uki ]]
- + [[ -v preset_kver ]]
- + [[ -v ALL_kver ]]
- + is_kernelcopy /boot/vmlinuz-linux
- + local preset_kver=/boot/vmlinuz-linux
- + [[ /boot/vmlinuz-linux != /* ]]
- + pacman -Qoq -- /boot/vmlinuz-linux
- + return 0
- + unsorted_filelist+=("${ALL_kver}")
- + unsorted_kernellist+=("${ALL_kver}")
- + for p in "${PRESETS[@]}"
- + declare -n preset_image=fallback_image preset_uki=fallback_uki preset_kver=fallback_kver
- + [[ -v preset_image ]]
- + unsorted_filelist+=("${preset_image}")
- + [[ -v preset_uki ]]
- + [[ -v ALL_uki ]]
- + [[ -v preset_kver ]]
- + [[ -v ALL_kver ]]
- + is_kernelcopy /boot/vmlinuz-linux
- + local preset_kver=/boot/vmlinuz-linux
- + [[ /boot/vmlinuz-linux != /* ]]
- + pacman -Qoq -- /boot/vmlinuz-linux
- + return 0
- + unsorted_filelist+=("${ALL_kver}")
- + unsorted_kernellist+=("${ALL_kver}")
- + filelist=()
- + IFS=
- + read -r -d '' arrayelement
- ++ printf '%s\0' /boot/initramfs-linux.img /boot/vmlinuz-linux /boot/initramfs-linux-fallback.img /boot/vmlinuz-linux
- ++ LC_ALL=C.UTF-8
- ++ sort -uz
- + filelist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + filelist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + filelist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + kernellist=()
- + IFS=
- + read -r -d '' arrayelement
- ++ printf '%s\0' /boot/vmlinuz-linux /boot/vmlinuz-linux
- ++ LC_ALL=C.UTF-8
- ++ sort -uz
- + kernellist+=("$arrayelement")
- + IFS=
- + read -r -d '' arrayelement
- + for kernel in "${kernellist[@]}"
- + is_kernelcopy /boot/vmlinuz-linux
- + local preset_kver=/boot/vmlinuz-linux
- + [[ /boot/vmlinuz-linux != /* ]]
- + pacman -Qoq -- /boot/vmlinuz-linux
- + return 0
- + install -Dm644 -- usr/lib/modules/6.11.5-arch1-1/vmlinuz /boot/vmlinuz-linux
- + args+=(-p "$pkgbase")
- + read -r line
- + (( package ))
- + [[ install == \i\n\s\t\a\l\l ]]
- + (( 2 ))
- + mkinitcpio -p linux
- ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
- ==> Using default configuration file: '/etc/mkinitcpio.conf'
- -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
- ==> Starting build: '6.11.5-arch1-1'
- -> Running build hook: [base]
- -> Running build hook: [udev]
- -> Running build hook: [autodetect]
- -> Running build hook: [modconf]
- -> Running build hook: [kms]
- -> Running build hook: [keyboard]
- ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
- -> Running build hook: [keymap]
- -> Running build hook: [consolefont]
- -> Running build hook: [block]
- -> Running build hook: [filesystems]
- -> Running build hook: [fsck]
- ==> Generating module dependencies
- ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
- -> Early uncompressed CPIO image generation successful
- ==> Initcpio image generation successful
- ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
- ==> Using default configuration file: '/etc/mkinitcpio.conf'
- -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
- ==> Starting build: '6.11.5-arch1-1'
- -> Running build hook: [base]
- -> Running build hook: [udev]
- -> Running build hook: [modconf]
- -> Running build hook: [kms]
- ==> WARNING: Possibly missing firmware for module: 'ast'
- -> Running build hook: [keyboard]
- ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
- -> Running build hook: [keymap]
- -> Running build hook: [consolefont]
- -> Running build hook: [block]
- ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
- ==> WARNING: Possibly missing firmware for module: 'wd719x'
- ==> WARNING: Possibly missing firmware for module: 'qed'
- ==> WARNING: Possibly missing firmware for module: 'bfa'
- ==> WARNING: Possibly missing firmware for module: 'qla1280'
- ==> WARNING: Possibly missing firmware for module: 'aic94xx'
- -> Running build hook: [filesystems]
- -> Running build hook: [fsck]
- ==> Generating module dependencies
- ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
- -> Early uncompressed CPIO image generation successful
- ==> Initcpio image generation successful
Advertisement
Add Comment
Please, Sign In to add comment