Skip to content

Commit

Permalink
debian: do not call mtda-systemd-helper when running in chroot
Browse files Browse the repository at this point in the history
Closes: #397
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
  • Loading branch information
chombourger committed Feb 16, 2024
1 parent d931a29 commit 9435b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/mtda-service.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
case "$1" in

configure)
/usr/sbin/mtda-systemd-helper || exit ${?}
ischroot || /usr/sbin/mtda-systemd-helper || exit ${?}
if ! grep -qe '^libcomposite$' /etc/modules; then
echo "libcomposite" >/etc/modules || exit ${?}
fi
Expand Down

0 comments on commit 9435b3b

Please sign in to comment.