Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 47:01:06 |
Calls: | 632 |
Calls today: | 3 |
Files: | 1,187 |
D/L today: |
24 files (29,813K bytes) |
Messages: | 176,789 |
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?
How can i install FreeBSD from a script. Is there a simple command i
can use like pkg install base or something
On 9/29/25 9:51 PM, Colin Percival wrote:
On 9/29/25 11:54, Johan Hendriks wrote: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
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.-a 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.
regards,
Johan Hendriks