lede/package/base-files
Beginner c85f84bfde
base-files: reduce sed calls (#7924)
* base-files: reduce `sed` calls

The `sed`-script shouldn't be called multiple times, especially not with
the same files.

This commit merges all files together in a single `sed`-script call.

Signed-off-by: Paul Spooren <mail@aparcar.org>

* base-files: reduce number of `mkdir` calls

The `mkdir` commands supports passing multiple arguments to batch create
multiple folders, instead of calling the tool every single time.

If the creation of one of the folders fails, all other folder are still
created and therefore doesn't change the error handling.

Also stop creating `/etc/` explicitly after subfolders of `/etc/` were
already created.

Signed-off-by: Paul Spooren <mail@aparcar.org>

Co-authored-by: Paul Spooren <mail@aparcar.org>
2021-09-25 01:40:03 +08:00
..
files base-files: sysupgrade stage2: fix losetup detection (#7601) 2021-08-06 09:29:44 +08:00
image-config.in add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
Makefile base-files: reduce sed calls (#7924) 2021-09-25 01:40:03 +08:00