diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-21 10:35:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-21 10:35:37 +0000 |
commit | 69907fcb13161dff44a42de599097cef9a5a6a09 (patch) | |
tree | 0c82194a4e980387ebb71bad396ab2ac6c0da48a | |
parent | 9efc0e6aa6e6951d4aa7e04014e7228b8e79e88d (diff) | |
download | alpine_aports-69907fcb13161dff44a42de599097cef9a5a6a09.tar.bz2 alpine_aports-69907fcb13161dff44a42de599097cef9a5a6a09.tar.xz alpine_aports-69907fcb13161dff44a42de599097cef9a5a6a09.zip |
scripts/mkimg.arm.sh: cleanup
no functional difference but make it clearer what the intention is
-rwxr-xr-x | scripts/mkimg.arm.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/mkimg.arm.sh b/scripts/mkimg.arm.sh index d9d8993b70..43b91f759b 100755 --- a/scripts/mkimg.arm.sh +++ b/scripts/mkimg.arm.sh | |||
@@ -70,19 +70,17 @@ profile_rpi() { | |||
70 | Designed for RPI 1,2 and 3. | 70 | Designed for RPI 1,2 and 3. |
71 | And much more..." | 71 | And much more..." |
72 | image_ext="tar.gz" | 72 | image_ext="tar.gz" |
73 | arch="armhf" | 73 | arch="aarch64 armhf" |
74 | # check commit log for matching commit with current rpi kernel version at: | 74 | # check commit log for matching commit with current rpi kernel version at: |
75 | # https://github.com/raspberrypi/firmware/tree/master | 75 | # https://github.com/raspberrypi/firmware/tree/master |
76 | rpi_firmware_commit="eeaaf5e2b5aee29f31e989c0dddd186fb68b2144" | 76 | rpi_firmware_commit="eeaaf5e2b5aee29f31e989c0dddd186fb68b2144" |
77 | kernel_flavors="rpi rpi2" | 77 | kernel_flavors="rpi" |
78 | case "$ARCH" in | ||
79 | armhf) kernel_flavors="$kernel_flavors rpi2";; | ||
80 | esac | ||
78 | kernel_cmdline="dwc_otg.lpm_enable=0 console=tty1" | 81 | kernel_cmdline="dwc_otg.lpm_enable=0 console=tty1" |
79 | initrd_features="base bootchart squashfs ext4 f2fs kms mmc raid scsi usb" | 82 | initrd_features="base bootchart squashfs ext4 f2fs kms mmc raid scsi usb" |
80 | apkovl="genapkovl-dhcp.sh" | ||
81 | hostname="rpi" | 83 | hostname="rpi" |
82 | if [ "$ARCH" = "aarch64" ]; then | ||
83 | arch="aarch64" | ||
84 | kernel_flavors="rpi" | ||
85 | fi | ||
86 | } | 84 | } |
87 | 85 | ||
88 | build_uboot() { | 86 | build_uboot() { |