diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-03-31 13:47:35 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-31 16:53:39 +0100 |
commit | bb107ad9c13d244bf4aed255da913d6000c28833 (patch) | |
tree | 949ef3e7d9cec809f69e9cb03302b5a66e680646 /target/linux/lantiq/image | |
parent | 0bc5ecf2d0fdc47ccbc60a840e595937e79689c3 (diff) | |
download | upstream-bb107ad9c13d244bf4aed255da913d6000c28833.tar.gz upstream-bb107ad9c13d244bf4aed255da913d6000c28833.tar.bz2 upstream-bb107ad9c13d244bf4aed255da913d6000c28833.zip |
base-files: functions: introduce new helper functions
Introduce cmdline_get_var() to /lib/function.sh and make use of it in
export_rootdev() in /lib/upgrade/common.sh, making the code more
simple and removing one level of indentation.
Introduce get_partition_by_name() to /lib/upgrade/common.sh which is
useful on non-EFI GPT platforms like mt7622.
Remove some dead-code while at it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/lantiq/image')
0 files changed, 0 insertions, 0 deletions