base-files: sysupgrade: fix error message and typo
Some minor error message and comment fixes. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
This commit is contained in:
parent
157d6019df
commit
61ac147bb6
1 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ add_overlayfiles() {
|
||||||
|
|
||||||
if [ $SAVE_OVERLAY = 1 ]; then
|
if [ $SAVE_OVERLAY = 1 ]; then
|
||||||
[ ! -d /overlay/upper/etc ] && {
|
[ ! -d /overlay/upper/etc ] && {
|
||||||
echo "Cannot find '/overlay/upper/etc', required for '-c'" >&2
|
echo "Cannot find '/overlay/upper/etc', required for '-c' or '-o'" >&2
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
sysupgrade_init_conffiles="add_overlayfiles"
|
sysupgrade_init_conffiles="add_overlayfiles"
|
||||||
|
@ -246,7 +246,7 @@ do_save_conffiles() {
|
||||||
ask_bool 0 "Abort" && exit
|
ask_bool 0 "Abort" && exit
|
||||||
}
|
}
|
||||||
|
|
||||||
# Format: pkg-name<TAB>{rom,overlay,unkown}
|
# Format: pkg-name<TAB>{rom,overlay,unknown}
|
||||||
# rom is used for pkgs in /rom, even if updated later
|
# rom is used for pkgs in /rom, even if updated later
|
||||||
find /usr/lib/opkg/info -name "*.control" \( \
|
find /usr/lib/opkg/info -name "*.control" \( \
|
||||||
\( -exec test -f /rom/{} \; -exec echo {} rom \; \) -o \
|
\( -exec test -f /rom/{} \; -exec echo {} rom \; \) -o \
|
||||||
|
|
Loading…
Reference in a new issue