Skip to content

Commit

Permalink
fish: cbl_upd_krnl: Fix '-r' / '-k' with using_nspawn clause
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Dec 30, 2024
1 parent 29cb098 commit ccefd88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fish/functions/cbl_upd_krnl.fish
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,17 @@ function cbl_upd_krnl -d "Update machine's kernel"

if in_container
cbl_bld_krnl_pkg $bld_krnl_pkg_args
return
else if using_nspawn
sd_nspawn -r "cbl_bld_krnl_pkg $bld_krnl_pkg_args"
or return
else
dbxe dev-arch -- $PYTHON_SCRIPTS_FOLDER/cbl_bld_krnl_pkg.py $bld_krnl_pkg_args
or return

install_arch_kernel $install_args $krnl
end

install_arch_kernel $install_args $krnl

case pi3
in_container_msg -h; or return

Expand Down

0 comments on commit ccefd88

Please sign in to comment.