mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
fixup: set machine type earlier for 'flash-kernel'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I930cdb77ccf65596b23e2d29542d3e9e05882b3f
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat>/etc/default/flash-kernel<<__EOF
|
||||
LINUX_KERNEL_CMDLINE="@@LINUX_KERNEL_CMDLINE@@"
|
||||
LINUX_KERNEL_CMDLINE_DEFAULTS="@@LINUX_KERNEL_CMDLINE_DEFAULTS@@"
|
||||
__EOF
|
||||
|
||||
mkdir -p /etc/flash-kernel
|
||||
cat>/etc/flash-kernel/machine<<__EOF
|
||||
@@DEFAULT_MACHINE_NAME@@
|
||||
__EOF
|
||||
|
||||
@@ -3,8 +3,4 @@
|
||||
echo flash-kernel flash-kernel/linux_cmdline string @@LINUX_KERNEL_CMDLINE@@ | \
|
||||
debconf-set-selections
|
||||
|
||||
cat>/etc/default/flash-kernel<<__EOF
|
||||
LINUX_KERNEL_CMDLINE="@@LINUX_KERNEL_CMDLINE@@"
|
||||
LINUX_KERNEL_CMDLINE_DEFAULTS="@@LINUX_KERNEL_CMDLINE_DEFAULTS@@"
|
||||
__EOF
|
||||
/usr/sbin/flash-kernel --machine "@@DEFAULT_MACHINE_NAME@@"
|
||||
/usr/sbin/flash-kernel
|
||||
|
||||
Reference in New Issue
Block a user