From 941b51da0fd19133aa751d06875d13412131fccd Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 31 Jan 2023 17:53:35 -0500 Subject: [PATCH] Make kopts respect whitespace --- openwrtbuilder | 2 +- profiles | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 326fa31..c868242 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -706,7 +706,7 @@ fromSource() { # Write options to config seed file for opt in "${config_opts[@]}"; do debug "Writing $opt to $seed_file" - echo "$opt" >> "$seed_file" + echo "$opt" | xargs args >> "$seed_file" done # TODO for now symlink clang for qosify diff --git a/profiles b/profiles index 4150799..b615da1 100644 --- a/profiles +++ b/profiles @@ -104,7 +104,9 @@ r4s['packages']="\ # tailscale r4s['kopts']="\ CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y \ - CONFIG_BTRFS_PROGS_ZSTD=y" + CONFIG_BTRFS_PROGS_ZSTD=y \ + CONFIG_TARGET_OPTIMIZATION=\"-O3 -pipe -mcpu=cortex-a72.cortex-a53+crypto+crc\" \ + CONFIG_TARGET_ROOTFS_PARTSIZE=1024" r4s['files']="\ /mnt/backup"