VirtualBox

Changeset 102979 in vbox for trunk/src


Ignore:
Timestamp:
Jan 20, 2024 6:41:33 PM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161211
Message:

Main/UnattendedTemplates/debian_postinstall.sh: Fix for subiquity, the postinstall script will be executed inside the target chroot, bugref:10551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/debian_postinstall.sh

    r101683 r102979  
    3434# Globals.
    3535#
    36 MY_TARGET="/target"
     36
     37# subiquity will execute this script inside the target already
     38if [ "$1" = "--direct" ]; then
     39    MY_TARGET="/"
     40else
     41    MY_TARGET="/target"
     42fi
    3743MY_LOGFILE="${MY_TARGET}/var/log/vboxpostinstall.log"
    3844MY_CHROOT_CDROM="/cdrom"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette