mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
x230 legacy boards: move to unmaintained
Also add Makefile helper to move from tested to unmaintained Done by: docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) tlaurion/heads-dev-env:latest -- make BOARD=x230-hotp-legacy board.move_tested_to_unmaintained docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) tlaurion/heads-dev-env:latest -- make BOARD=x230-legacy board.move_tested_to_unmaintained docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) tlaurion/heads-dev-env:latest -- make BOARD=x230-legacy-flash board.move_tested_to_unmaintained git difftool -d git add .circleci/config.yml boards/x230-hotp-legacy/x230-hotp-legacy.config boards/x230-legacy-flash/x230-legacy-flash.config boards/x230-legacy/x230-legacy.config unmaintained_boards/UNMAINTAINED_x230-hotp-legacy/ unmaintained_boards/UNMAINTAINED_x230-legacy-flash/ unmaintained_boards/UNMAINTAINED_x230-legacy/ git commit --signoff -m Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
941fa428c4
commit
36efff4848
@ -310,27 +310,6 @@ workflows:
|
||||
requires:
|
||||
- x230-hotp-maximized
|
||||
|
||||
- build:
|
||||
name: x230-legacy-flash
|
||||
target: x230-legacy-flash
|
||||
subcommand: ""
|
||||
requires:
|
||||
- x230-hotp-maximized
|
||||
|
||||
- build:
|
||||
name: x230-legacy
|
||||
target: x230-legacy
|
||||
subcommand: ""
|
||||
requires:
|
||||
- x230-hotp-maximized
|
||||
|
||||
- build:
|
||||
name: x230-hotp-legacy
|
||||
target: x230-hotp-legacy
|
||||
subcommand: ""
|
||||
requires:
|
||||
- x230-hotp-maximized
|
||||
|
||||
- build:
|
||||
name: x230-hotp-maximized_usb-kb
|
||||
target: x230-hotp-maximized_usb-kb
|
||||
|
22
Makefile
22
Makefile
@ -845,6 +845,28 @@ board.move_tested_to_untested:
|
||||
echo "Replacing $(BOARD) with $${NEW_BOARD} in .circleci/config.yml"; \
|
||||
sed -i "s/$(BOARD)/$${NEW_BOARD}/g" .circleci/config.yml
|
||||
|
||||
board.move_tested_to_unmaintained:
|
||||
@echo "Moving $(BOARD) from tested to unmaintained status"
|
||||
@NEW_BOARD=UNMAINTAINED_$(BOARD); \
|
||||
INCLUDE_BOARD=$$(grep "include \$$(pwd)/boards/" boards/$(BOARD)/$(BOARD).config | sed 's/.*boards\/\(.*\)\/.*/\1/'); \
|
||||
NEW_INCLUDE_BOARD=UNMAINTAINED_$${INCLUDE_BOARD}; \
|
||||
echo "Updating config file: boards/$(BOARD)/$(BOARD).config"; \
|
||||
sed -i 's/$(BOARD)/'$${NEW_BOARD}'/g' boards/$(BOARD)/$(BOARD).config; \
|
||||
if [ -n "$$INCLUDE_BOARD" ]; then \
|
||||
sed -i 's/'$$INCLUDE_BOARD'/'$$NEW_INCLUDE_BOARD'/g' boards/$(BOARD)/$(BOARD).config; \
|
||||
fi; \
|
||||
echo "Creating unmaintained_boards directory if it doesn't exist"; \
|
||||
mkdir -p unmaintained_boards/$${NEW_BOARD}; \
|
||||
echo "Moving and renaming config file to unmaintained_boards/$${NEW_BOARD}/$${NEW_BOARD}.config"; \
|
||||
mv boards/$(BOARD)/$(BOARD).config unmaintained_boards/$${NEW_BOARD}/$${NEW_BOARD}.config; \
|
||||
echo "Moving board directory contents to unmaintained_boards/$${NEW_BOARD}"; \
|
||||
mv boards/$(BOARD)/* unmaintained_boards/$${NEW_BOARD}/; \
|
||||
rmdir boards/$(BOARD); \
|
||||
echo "Updating .circleci/config.yml"; \
|
||||
sed -i "s/$(BOARD)/$${NEW_BOARD}/g" .circleci/config.yml; \
|
||||
echo "Operation completed for $(BOARD) -> $${NEW_BOARD}"; \
|
||||
echo "Please manually review and remove any unnecessary entries in .circleci/config.yml"
|
||||
|
||||
# Inject a GPG key into the image - this is most useful when testing in qemu,
|
||||
# since we can't reflash the firmware in qemu to update the keychain. Instead,
|
||||
# inject the public key ahead of time. Specify the location of the key with
|
||||
|
@ -7,7 +7,7 @@ export CONFIG_COREBOOT=y
|
||||
export CONFIG_COREBOOT_VERSION=24.02.01
|
||||
export CONFIG_LINUX_VERSION=5.10.5
|
||||
|
||||
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy-flash.config
|
||||
CONFIG_COREBOOT_CONFIG=config/coreboot-UNMAINTAINED_x230-legacy-flash.config
|
||||
CONFIG_LINUX_CONFIG=config/linux-x230-flash.config
|
||||
|
||||
#Add bare minimal tools for flashing boards
|
@ -7,8 +7,8 @@ export CONFIG_COREBOOT=y
|
||||
export CONFIG_COREBOOT_VERSION=24.02.01
|
||||
export CONFIG_LINUX_VERSION=5.10.5
|
||||
|
||||
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy.config
|
||||
CONFIG_LINUX_CONFIG=config/linux-x230-legacy.config
|
||||
CONFIG_COREBOOT_CONFIG=config/coreboot-UNMAINTAINED_x230-legacy.config
|
||||
CONFIG_LINUX_CONFIG=config/linux-UNMAINTAINED_x230-legacy.config
|
||||
|
||||
#Additional hardware support
|
||||
CONFIG_LINUX_USB=y
|
Loading…
Reference in New Issue
Block a user