AmadeusGhost 404209f6c4
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
  431fb8c mac80211: add AQL improvements
  6bdd4c9 mac80211: add missing backports for building with 4.14 kernels
  0106820 mac80211: add missing return code checks in AQL improvements
  e7f7101 mac80211: rework encapsulation offload support

[package]
  base-files: add function for generating random MAC
  dnsmasq: abort dhcp_check on interface state
  boot: sync upstream source code
  ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD

[script]
  download: add China Mirror Station

[target]
  Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape,
        mediatek, mvebu, octeon, oxnas, pistachio, uml
  Sync most of the target patches.

Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
2020-08-26 11:31:50 +08:00

14 lines
349 B
Plaintext

do_sysinfo_layerscape_fixup() {
[ -e /tmp/sysinfo/board_name ] || return
[ -e /proc/cmdline ] || return
cmdline=$(strings /proc/cmdline)
case "${cmdline}" in
*root=/dev/mmcblk*)
board="$(strings /tmp/sysinfo/board_name)-sdboot"
echo ${board} > /tmp/sysinfo/board_name
;;
esac
}
boot_hook_add preinit_main do_sysinfo_layerscape_fixup