Skip to content

Commit

Permalink
Merge pull request #466 from mariux64/update-auto-maps-after-pdist
Browse files Browse the repository at this point in the history
pdist/pdist-bootcheck: Make automaps after disting to sync /etc/automount/
  • Loading branch information
pmenzel authored May 22, 2025
2 parents 60ca0d4 + 3085e6b commit c919041
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pdist/pdist-bootcheck
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi

if [ "$need_async_pdist" ]; then
systemd-run --unit pdist-async-update --service-type=simple --remain-after-exit \
netcat $(distmaster) 237
-- bash -c 'netcat $(distmaster) 237 ; make-automaps'
echo triggered background update
elif [ "$need_pdist_and_reboot" ]; then
if [[ -e /var/cache/updatecheck.reboot-triggered ]]; then
Expand All @@ -44,6 +44,7 @@ elif [ "$need_pdist_and_reboot" ]; then
sync /
while true; do sleep 5; echo "System update in progress. Please be patient..."; done &
netcat $(distmaster) 237
make-automaps
mxgrub default
systemctl start reboot.target --job-mode=replace-irreversibly
fi

0 comments on commit c919041

Please sign in to comment.