Skip to content

Commit

Permalink
Support u-boot-menu 4.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Jan 4, 2024
1 parent 445f4bb commit d7cea71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
13 changes: 0 additions & 13 deletions debian/radxa-system-config-common.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ rockchip-cpufreq
EOF
fi

if ( . /etc/default/u-boot && [ -z "$U_BOOT_TIMEOUT" ] )
then
echo 'U_BOOT_TIMEOUT="10"' >> /etc/default/u-boot
fi
if ( . /etc/default/u-boot && [ -z "$U_BOOT_PARAMETERS" ] )
then
echo "U_BOOT_PARAMETERS=\"\$(cat /etc/kernel/cmdline)\"" >> /etc/default/u-boot
fi
if ( . /etc/default/u-boot && [ -z "$U_BOOT_FDT_DIR" ] )
then
echo 'U_BOOT_FDT_DIR="/usr/lib/linux-image-"' >> /etc/default/u-boot
fi

if [ ! -e /etc/security ]
then
mkdir -p /etc/security
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
U_BOOT_PROMPT=1
U_BOOT_TIMEOUT=10
U_BOOT_PARAMETERS="$(cat /etc/kernel/cmdline)"

0 comments on commit d7cea71

Please sign in to comment.