Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Use debootstrap with --no-merged-usr by default
Browse files Browse the repository at this point in the history
By default debootstrap creates systems with /usr being merged, leading
to issues like the xfsdump issue we saw in
grml#85, also dpkg -S ... and
further commands break with /usr being merged.

It's possible to generate custom basefiles with debootstrap, but by
default we should invoke debootstrap with the --no-merged-usr option,
otherwise we might have different ISO layouts, depending on whether we
use appropriate basefiles (as on our offical build host) vs. locally.

Closes: grml#86
  • Loading branch information
mika authored and clexanis committed Dec 12, 2022
1 parent d6ce422 commit e2de581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grml-live
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ if [ -z "$FAI_DEBOOTSTRAP" ] ; then
fi

if [ -z "$FAI_DEBOOTSTRAP_OPTS" ] ; then
FAI_DEBOOTSTRAP_OPTS="--exclude=info,tasksel,tasksel-data --include=aptitude --arch $ARCH"
FAI_DEBOOTSTRAP_OPTS="--exclude=info,tasksel,tasksel-data --include=aptitude --arch $ARCH --no-merged-usr"
fi

# create backup of old (not yet automatically generated) config file
Expand Down

0 comments on commit e2de581

Please sign in to comment.