Skip to content

Commit 29bc1d7

Browse files
committed
[fix] : releng kernel config
1 parent 4bce7c3 commit 29bc1d7

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

channels/releng/config.any

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ usershell="/bin/zsh"
5252
noaur=true
5353

5454
# kernel config
55-
kernel_config_line="core linux linux-headers vmlinuz-linux linux"
56-
kernel_package=$(echo ${kernel_config_line} | awk '{print $2}')
57-
kernel_headers_packages=$(echo ${kernel_config_line} | awk '{print $3}')
58-
kernel_filename=$(echo ${kernel_config_line} | awk '{print $4}')
59-
kernel_mkinitcpio_profile=$(echo ${kernel_config_line} | awk '{print $5}')
55+
_kernel_config_line=("core" "vmlinuz-linux" "linux")
56+
kernel="${_kernel_config_line[0]}"
57+
kernel_filename="${_kernel_config_line[1]}"
58+
kernel_mkinitcpio_profile="${_kernel_config_line[2]}"
6059

6160
# Use mkalteriso written in a traditional shell script
6261
# instead of the C ++ version of mkalteriso.

0 commit comments

Comments
 (0)