Posts

Showing posts from October, 2023

Poudriere Simple Tips on $PATH, ccache, & Calling Poudriere command line

Image
Poudriere Simple Tips on $PATH, ccache, &Calling Poudriere command line  Poudriere Simple Tips Create a Jail  poudriere jail -c -j ghostbsd-14-aarch64 -m src=/usr/ghost14/ghostbsd-src   Bulk build packages from a previously create jail and a package list file  poudriere jail -l  poudriere bulk -j  ghostbsd-14-aarch64 -p ghostbsd_ports -f /usr/local/etc/poudriere.d/pkglist    Bulk build all packages (yes 33,000+) poudriere bulk -j ghostbsd-14-aarch64  -p ghostbsd_ports -a   To create   ghostbsd ports for poudriere poudriere ports -c -p ghostbsd_ports -m git -U "https://github.com/ghostbsd/ghostbsd-ports" -B main To update ghostbsd ports source code to latest main version poudriere ports -u -p ghostbsd_ports -m git -U "https://github.com/ghostbsd/ghostbsd-ports" -B main  

Compiling GhostBSD src code, What I learned Oct 28 2023

Image
Compiling GhostBSD 14.0 src code, What I learned Oct 28 2023 Not sure if it is STABLE or RELEASE RC3, most likely STABLE source code Get the source code from Github.com/ghostbsd/ghostbsd-src  with this String  I  just finished the Make BuildKernel  compile for Ghostbsd 14.0 on the Raspberry Pi 4B , 8gb hardware running FreeBSD 15.0-CURRENT  ghostbsd-arm64.blogspot.com From Eric Turgeon: by the way, if you want to build ghostbsd from stable/14 you can use: mkdir -p /usr/ghost14 cd /usr/ghost14 git clone -b stable/14 https://github.com/ghostbsd/ghostbsd-src.git   to update sources: cd /usr/ghost14/ghostbsd-src git -C /usr/ghost14/ghostbsd-src pull --ff-only    Build both World and Kernel:  time make -j4 buildworld buildkernel TARGET_ARCH=aarch64 KERNCONF=GENERIC-VCHIQ -DNO_CLEAN  For just building the kernel; cd /usr/ghost14/ghostbsd-src time make -j4 buildkernel TARGET_ARCH=aarch64 KERNCONF=GENERIC-VCHIQ -DNO_CLEAN  I had many errors to correct with these files: /usr/ghost14/ghostbsd-sr

Poudriere setup to compile from GhostBSD 14.0 Stable source code github.com/ghostbsd/ghostbsd-src

Image
https://man.freebsd.org/cgi/man.cgi?query=poudriere-jail&sektion=8&apropos=0&manpath=FreeBSD+13.2-RELEASE+and+Ports  Poudriere setup to compile from GhostBSD 14.0 Stable source code  github.com/ghostbsd/ghostbsd-src  Will do better on the graphic above. Use  Red Ryder Computer #1 running Poudriere build and running NGINX web server, IP number 192.168.1.7 Tin Can Computer #2  is the client computer looking to install new software pkgs to his base software.  Like  pkg install xorg xfce on his base GhostBSD kernel build 14.0 or 15.0.  IP number 192.168.1.23 REDRYDER Computer #1 files: /etc/pkg/FreeBSD.conf    DON'T EDIT this file at this location. Leave it alone. mkdir -p /usr/local/etc/pkg/repos echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf cp -p /etc/pkg/FreeBSD.conf  /usr/local/etc/pkg/repos/GhostBSD.conf  /usr/local/etc/pkg/repos/FreeBSD.conf    Yes, you may Edit this file.  Its location and use will be superior (used in place of

Install and Setup NGINX web server on FreeBSD 15.0 aarch64 running on Raspberry Pi

Install and Setup NGINX web server on FreeBSD 15.0 aarch64 running on Raspberry Pi https://vermaden.wordpress.com/2023/04/30/simple-freebsd-poudriere-harvester-guide/ Used the NGINX setup for nginx.conf configuration file   https://vermaden.wordpress.com/2023/08/10/freebsd-on-freeipa-idm-with-poudriere-repo/ Perused this newer custom version August 10, 2023 version https://www.digitalocean.com/community/tutorials/how-to-set-up-a-poudriere-build-system-to-create-packages-for-your-freebsd-servers   Digital Ocean is a good easy start to setting up Poudriere builder.  I started with this first. https://lobste.rs/s/4q9wfy/simple_freebsd_poudriere_harvester   Discussion between ADavis and Vermaden about poudriere setup and use to build packages. https://forums.freebsd.org/threads/questions-about-poudriere-and-ccache.69328/ SevenDogs  setup of CCACHE and TMPFS to decrease build times.  Good Reading https://www.zenarmor.com/docs/freebsd-tutorials/how-to-install-packages-with-pkg-on-freebsd Zen

Poudriere enhancements to CCACHE for compiling GhostSBD-ARM64 source code

Image
Poudriere enhancements to CCACHE for compiling GhostSBD-ARM64 source code URLS to read and study:  How to get Started with FreeBSD https://www.digitalocean.com/community/tutorials/how-to-get-started-with-freebsd Poudriere setup and configuration https://www.digitalocean.com/community/tutorials/how-to-build-and-deploy-packages-for-your-freebsd-servers-using-buildbot-and-poudriere   BuildBot install and setup https://www.digitalocean.com/community/tutorials/how-to-install-buildbot-freebsd My first blog post about setting up Poudriere for GhostBSD-ARM64 package compiling https://ghostbsd-arm64.blogspot.com/2023/02/poudriere-build-setup-update-freebsd.html   PACKAGESITE setup and VERSION  Freebsd Forums post 70285 https://forums.freebsd.org/threads/packagesite-help.70285/ Use this to set up your PACKAGESITE environmental variable set PACKAGESITE "http://pkg.freebsd.org/freebsd:13:aarch64/latest" export PACKAGESITE   Do not have a trailing slash character at the end of the st

Compiling github Ghostbsd-src source code in October 2023

Compiling github Ghostbsd-src source code in October 2023   on a FreeBSD computer ( Raspberry Pi 4B Freebsd.org/where snapshot ).  Select one to be your stable platform that you use FreeBSD Clang compilers to build GhostBSD from source code into a Kernel.image that you can write a created image file into a USB flash drive with 'dd' command.   https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/13.2/     https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/13.2/FreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img.xz   Use this 13.2-RELEASE  FreeBSD as a platform to compile and build Adventurous and daring,  ready to solve your own problems?  Give 14.0-STABLE or 15.0-CURRENT  https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/14.0/ 15.0-CURRENT aarch64 https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/15.0/

Honey, I broke my ZFS USB SATA SSD 1 TB disk, Oops. What can I do to fix this ZFS to boot again?

 Honey, I broke my ZFS  USB SATA SSD 1 TB disk, Oops.  What can I do to fix this ZFS to boot again? mountroot>  zfs:arm64pool/ROOT/default  I do have a USB to 3.3V TTL serial port from a Linux computer running minicom 115200 baud connected to 3.3V pins serial port (UART0 or UART1) on Raspberry Pi 4B: Pin    Function 6      Ground 8      RXD 10     TXD  I have debug messages on.   It did mount the ZFS disk files, read-only, so we can not edit files like /boot/loader.conf   or  /etc/rc.conf  We can check the ZFS parameters. root@:/ # df -h Filesystem                Size    Used   Avail Capacity  Mounted on arm64pool/ROOT/default    779G     23G    756G     3%    / devfs                     1.0K      0B    1.0K     0%    /dev root@:/ # mount arm64pool/ROOT/default on / (zfs, local, noatime, read-only, nfsv4acls) devfs on /dev (devfs) root@:/ # mount / -u mount: /-u: No such file or directory root@:/ # umount / umount: unmount of / failed: Invalid argument root@:/ # cat /etc/fstab /dev