!3 基于 raspberrypi-eeprom 补充部分功能

From: @woqidaideshi
Reviewed-by: @jianminw
Signed-off-by: @jianminw,@jianminw
This commit is contained in:
openeuler-ci-bot 2021-10-01 13:35:17 +00:00 committed by Gitee
commit 3a3687f4fb
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
diff --git a/raspi-config b/raspi-config
index a640864..b3cb8e7 100755
index a640864..ae97af5 100755
--- a/raspi-config
+++ b/raspi-config
@@ -11,8 +11,8 @@ CONFIG=/boot/config.txt
@ -424,7 +424,7 @@ index a640864..b3cb8e7 100755
"P4 Fan" "Set behaviour of GPIO fan" \
3>&1 1>&2 2>&3)
RET=$?
@@ -2783,19 +2900,19 @@ do_advanced_menu() {
@@ -2783,8 +2900,8 @@ do_advanced_menu() {
if is_pifour ; then
FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Advanced Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \
"A1 Expand Filesystem" "Ensures that all of the SD card is available" \
@ -434,12 +434,8 @@ index a640864..b3cb8e7 100755
+ `# "A3 Compositor" "Enable/disable xcompmgr composition manager"` \
"A4 Network Interface Names" "Enable/disable predictable network i/f names" \
"A5 Network Proxy Settings" "Configure network proxy settings" \
- "A6 Boot Order" "Choose network or USB device boot" \
- "A7 Bootloader Version" "Select latest or default boot ROM software" \
+ `# "A6 Boot Order" "Choose network or USB device boot"` \
+ `# "A7 Bootloader Version" "Select latest or default boot ROM software"` \
"A8 HDMI / Composite" "Raspberry Pi 4 video output options" \
3>&1 1>&2 2>&3)
"A6 Boot Order" "Choose network or USB device boot" \
@@ -2794,8 +2911,8 @@ do_advanced_menu() {
elif is_pi ; then
FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Advanced Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \
"A1 Expand Filesystem" "Ensures that all of the SD card is available" \

View File

@ -10,7 +10,7 @@
Name: raspi-config
Version: 20210625
Release: 3
Release: 4
Summary: Raspberry Pi configuration tool
License: MIT
URL: https://github.com/RPi-Distro/raspi-config
@ -64,6 +64,10 @@ cd -
%{_systemd_path}/*
%changelog
* Wed Sep 29 2021 Yafen Fang <yafen@iscas.ac.cn> - 20210625-4
- enable select boot order
- enable select bootloader version
* Sat Sep 18 2021 Yafen Fang<yafen@iscas.ac.cn> - 20210625-3
- enable screen resolution
- enable dtparam in func do_spi and do_i2c