Hi Solene,

On 11/20/19 10:46 AM, Solene Rapenne wrote:
wouldn't be easier for people using non standard locations to write a
small wrapper script like this (not tested, written in the mail)

#!/bin/sh

MYDEST=/var/sysupgrade

install -d -o root -g wheel $MYDEST
rm -fr /home/_sysupgrade
ln -s $MYDEST /home/_sysupgrade

sysupgrade -n
if [ $? -eq 0 ]
then
        sed -i'' "s,/home/_sysupgrade,$MYDEST" /auto_upgrade.conf
        reboot
fi


It is indeed a solution, but that still means you have to download the sets in /home and then move them. This can be problematic if space on /home is constrained or in the case of slow flash disks for example.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to