• Missing files from ALPHA4 memstick.img

    From Johan Hendriks@joh.hendriks@gmail.com to muc.lists.freebsd.stable on Mon Sep 29 20:54:30 2025
    From Newsgroup: muc.lists.freebsd.stable

    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?



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Colin Percival@cperciva@tarsnap.com to muc.lists.freebsd.stable on Mon Sep 29 19:51:45 2025
    From Newsgroup: muc.lists.freebsd.stable

    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.
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lexi Winter@ivy@freebsd.org to muc.lists.freebsd.stable on Tue Sep 30 09:36:50 2025
    From Newsgroup: muc.lists.freebsd.stable


    --+6Nr3M6O9xhr+SjM
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline

    Johan Hendriks wrote in <e0bb73b9-6e1b-4b1d-ba48-a5275d833890@gmail.com>:
    How can i install FreeBSD from a script. Is there a simple command i
    can use like pkg install base or something

    pkg -r /myroot install FreeBSD-set-base

    --+6Nr3M6O9xhr+SjM
    Content-Type: application/pgp-signature; name=signature.asc

    -----BEGIN PGP SIGNATURE-----

    iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaNuWmQAKCRD1nT63mIK/ YLWDAP9FPw4vlIUZCPvVdXAWBzZw2nqKxIt04e9esw0RxyYNVQD/enTZ1cx52JZn PtCUajSTmppd05zQmD4SE3jwQOqh0wE=
    =JX+r
    -----END PGP SIGNATURE-----

    --+6Nr3M6O9xhr+SjM--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Sulev-Madis Silber@freebsd-stable-freebsd-org730@ketas.si.pri.ee to muc.lists.freebsd.stable on Tue Sep 30 11:42:54 2025
    From Newsgroup: muc.lists.freebsd.stable


    On September 30, 2025 11:03:33 AM GMT+03:00, Johan Hendriks <joh.hendriks@gmail.com> wrote:

    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.-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.

    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


    yes, you do it like
    pkg -r "${mount:-/}" install -x '^FreeBSD-set-(base|kernels)-'
    note that you actually need to figure out what to install and i don't have image here to look what repo names it had and so on. and was it configured
    if you want to do local or remote pkg installs like this, i hope you verify it runs, too, first. just like you did with your tar. above was example :) i can give more of those if absolutely necessary
    pkgbase gives you much more direct control, if you for example used to have tar excludes for x before. and integrity verification should be easier too, but you have skipped that i see
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2