On 9/29/25 9:51 PM, Colin Percival wrote:
On 9/29/25 11:54, Johan Hendriks wrote:
I just downloaded the FreeBSD-ALPHA4 memstick.img file.
I have a custom install script that worked on ALPHA1.
Nut now it does not work anymore.
I noticed that i missed some files on the memstick image (if i am not
mistaken.)
I do this in my script:
echo ""
echo "# Install FreeBSD OS. (base.txz kernel.txz doc.txz)"
echo "# This will take a few minutes."
cd /usr/freebsd-dist
for file in base.txz kernel.txz doc.txz;
do (cat $file | tar --unlink -xpJf - -C ${mount:-/}); done
But it seems there are no files in /usr/freebsd-dist anymore, except
a file called MANIFEST
Am i missing something?
Yes. With the move to pkgbase, the disc1 and memstick images no longer
contain legacy distfiles, only pkgbase repositories.
The legacy distfiles will remain on dvd images for the duration of
FreeBSD 15
for the benefit of users (such as yourself!) with scripts which ingest
them,
but they will not exist in FreeBSD 16.
That makes perfectly sense. But, (there is always a but...) How can i
install FreeBSD from a script. Is there a simple command i can use like
pkg install base or something
regards,
Johan Hendriks