index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | install/archiso | 8 | ||||
-rw-r--r-- | install/archiso_kms | 2 | ||||
-rw-r--r-- | install/archiso_loop_mnt | 2 | ||||
-rw-r--r-- | install/archiso_pxe_common | 4 | ||||
-rw-r--r-- | install/archiso_pxe_http | 2 | ||||
-rw-r--r-- | install/archiso_pxe_nbd | 2 |
diff --git a/install/archiso b/install/archiso index c64e10e..d04e04f 100644 --- a/install/archiso +++ b/install/archiso @@ -19,10 +19,10 @@ build() { add_binary gpg add_binary grep - if command -v pv > /dev/null 2>&1; then - add_binary pv + if command -v pv >/dev/null 2>&1; then + add_binary pv else - warning 'pv not found; falling back to cp for copy to RAM' + warning 'pv not found; falling back to cp for copy to RAM' fi add_file /usr/lib/udev/rules.d/60-cdrom_id.rules @@ -31,6 +31,6 @@ build() { add_file /usr/lib/initcpio/udev/11-dm-initramfs.rules /usr/lib/udev/rules.d/11-dm-initramfs.rules if [[ $ARCHISO_GNUPG_FD ]]; then mkdir -m 0700 -- "$BUILDROOT/gpg" - gpg --homedir "$BUILDROOT/gpg" --import <& "$ARCHISO_GNUPG_FD" + gpg --homedir "$BUILDROOT/gpg" --import <&"$ARCHISO_GNUPG_FD" fi } diff --git a/install/archiso_kms b/install/archiso_kms index 8129127..018f574 100644 --- a/install/archiso_kms +++ b/install/archiso_kms @@ -24,7 +24,7 @@ build() { } help() { - cat << HELPEOF + cat <<HELPEOF Adds all common KMS drivers to the initramfs image. HELPEOF } diff --git a/install/archiso_loop_mnt b/install/archiso_loop_mnt index 1f2c529..f0fed76 100644 --- a/install/archiso_loop_mnt +++ b/install/archiso_loop_mnt @@ -7,7 +7,7 @@ build() { } help() { -cat<<HELPEOF + cat <<HELPEOF This hook loads the necessary modules for boot via loop device. HELPEOF } diff --git a/install/archiso_pxe_common b/install/archiso_pxe_common index 458fa69..ad96c32 100644 --- a/install/archiso_pxe_common +++ b/install/archiso_pxe_common @@ -16,11 +16,11 @@ build() { add_binary "$(readlink -f /usr/lib/libnss_dns.so.2)" add_dir /etc - echo "hosts: files dns" > "$BUILDROOT/etc/nsswitch.conf" + printf "hosts: files dns\n" >"$BUILDROOT/etc/nsswitch.conf" } help() { -cat<<HELPEOF + cat <<HELPEOF This hook loads the necessary modules for boot via PXE. HELPEOF } diff --git a/install/archiso_pxe_http b/install/archiso_pxe_http index 1e80852..afdde43 100644 --- a/install/archiso_pxe_http +++ b/install/archiso_pxe_http @@ -11,7 +11,7 @@ build() { } help() { -cat<<HELPEOF + cat <<HELPEOF This hook loads the necessary modules for boot via PXE and HTTP. HELPEOF } diff --git a/install/archiso_pxe_nbd b/install/archiso_pxe_nbd index b4fb3b6..2d19f0e 100644 --- a/install/archiso_pxe_nbd +++ b/install/archiso_pxe_nbd @@ -11,7 +11,7 @@ build() { } help() { -cat<<HELPEOF + cat <<HELPEOF This hook loads the necessary modules for boot via PXE and NBD. HELPEOF } |