Compare commits
2 Commits
fd3cef6915
...
fcf71c9d49
| Author | SHA1 | Date | |
|---|---|---|---|
| fcf71c9d49 | |||
| 7657759299 |
@@ -674,12 +674,16 @@ fromSource() {
|
|||||||
# Make image
|
# Make image
|
||||||
(( DEBUG )) && make_opts+=("V=s")
|
(( DEBUG )) && make_opts+=("V=s")
|
||||||
|
|
||||||
execute make "${make_opts[@]}" defconfig download clean
|
execute make "${make_opts[@]}" "-j1" defconfig download clean
|
||||||
|
|
||||||
make_opts+=("-j$(($(nproc) - 2))")
|
make_opts+=("-j$(($(nproc) - 2))")
|
||||||
#make_opts+=("-j1") # for debugging purposes
|
#make_opts+=("-j1") # for debugging purposes
|
||||||
|
|
||||||
execute make "${make_opts[@]}" world
|
if ! execute make "${make_opts[@]}" world; then
|
||||||
|
echo "Error: make failed, retrying using slow mode"
|
||||||
|
execute make V=s -j1 dirclean
|
||||||
|
execute make V=s -j1 world
|
||||||
|
fi
|
||||||
|
|
||||||
popd || return 1
|
popd || return 1
|
||||||
|
|
||||||
|
|||||||
3
profiles
3
profiles
@@ -54,7 +54,8 @@ r4s['kopts']="\
|
|||||||
CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y \
|
CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y \
|
||||||
CONFIG_BTRFS_PROGS_ZSTD=y \
|
CONFIG_BTRFS_PROGS_ZSTD=y \
|
||||||
CONFIG_TARGET_ROOTFS_PARTSIZE=512 \
|
CONFIG_TARGET_ROOTFS_PARTSIZE=512 \
|
||||||
CONFIG_TARGET_KERNEL_PARTSIZE=32"
|
CONFIG_TARGET_KERNEL_PARTSIZE=32 \
|
||||||
|
CONFIG_TESTING_KERNEL=y"
|
||||||
r4s['files']="\
|
r4s['files']="\
|
||||||
/mnt/backup"
|
/mnt/backup"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user