On Wed, Nov 20, 2019 at 10:55:28AM +0100, Renaud Allard wrote: > 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. >
no, this script makes /home/_sysupgrade a symbolic link to the real location where you want to store the sets. So /home doesn't require more space than the requirement for an additional symlink.