Skip to content

Commit

Permalink
var_make_debian: add make_rootfs_base as dependency for kernelpackage
Browse files Browse the repository at this point in the history
The -c kernelpackage command depends on the development rootfs for chroot.
Add the base rootfs as a dependency for kernelpackage.

Signed-off-by: Nate Drude <[email protected]>
  • Loading branch information
nsdrude authored and FrancescoFerraro committed Jun 28, 2023
1 parent 81f9630 commit bc7c205
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion var_make_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,8 @@ function cmd_make_deploy()
return 0
}

function cmd_make_rootfs()
# Build a minimal rootfs as a foundation for all other rootfs
function make_rootfs_base()
{
make_prepare;

Expand All @@ -826,6 +827,11 @@ function cmd_make_rootfs()

# build development rootfs
run_step "make_debian_dev_rootfs"
}

function cmd_make_rootfs()
{
run_step "make_rootfs_base"

# build kernel packages
cmd_make_kernel_package
Expand Down Expand Up @@ -930,6 +936,9 @@ function kernel_fixup_header_scripts()

function cmd_make_kernel_package()
{
# Building the kernel package depends on the base rootfs for chroot
run_step "make_rootfs_base"

# Build string of common kernel arguments
if [ ! -z "${UIMAGE_LOADADDR}" ]; then
image_extra_args="LOADADDR=${UIMAGE_LOADADDR}"
Expand Down

0 comments on commit bc7c205

Please sign in to comment.