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

looking for flashcp and flash_erase in /sbin instead of /usr/sbin; dmesg in /usr/bin instead of /bin #4

Closed docteurmystere closed 2 years ago

docteurmystere commented 2 years ago

see topic. on my system (debian buster mainline, pretty much stock except for a few boot scripts, on TS-421) the two binaries were found in /usr/sbin. creating a symlink solves this problem. same goes with dmesg, but the other way around.

docteurmystere commented 2 years ago

update: actually every shell command is inverted on my system. what the script is searching in /sbin is actually in /usr/sbin and viceversa.

amouiche commented 2 years ago

various tools (flash_cp) are now used from PATH (with PATH updated to add /sbin and /usr/sbin)