amouiche / qnap_mtd_resize_for_bullseye

Script for resizing MTD partitions on a QNAP device in order to be able to upgrade from buster to bullseye
GNU General Public License v2.0
51 stars 11 forks source link

option to skip bootargs step #6

Closed docteurmystere closed 2 years ago

docteurmystere commented 2 years ago

i have a heavily customized uboot variable set, and the script is unable to parse them because the cp.l instructions are not directly in the bootcmd. i know what to change at reboot via serial console, but the script just exit(1)s on me without proceeding (i'm still in dry run). any chance to have an option to skip this particular step for those in my situation?

edit: better yet, separate skipping bootcmd update and bootargs update. ^^"

edit2: attaching fw_printenv output for reference. qEnv.txt

docteurmystere commented 2 years ago

attaching possible patch. i am a noob at git, my apologies. patch.txt

amouiche commented 2 years ago

The feature to skip some bootargs is now supported