depenguin-me / depenguin-builder Goto Github PK
View Code? Open in Web Editor NEWBuild tool for custom depenguin.me mfsBSD images
Home Page: https://depenguin.me
License: BSD 2-Clause "Simplified" License
Build tool for custom depenguin.me mfsBSD images
Home Page: https://depenguin.me
License: BSD 2-Clause "Simplified" License
Release 13.2 is out
https://www.freebsd.org/releases/13.2R/relnotes/
Need to update ISO URL, checksums, some variables, and test before updating live system.
The Subnet-Mask gets set statically to /32
, which somehow does not work with re0
interfaces.
I have no explanation why this does not work, but would it be possible to set the correct subnet-mask in the config-file as a work-around?
I attached a screen recording of the first and second boot, in case that helps. Note the add net default: gateway 5.9.57.225 fib 0: Invalid argument
after the second boot. That looks like a failure to apply the default route set in /etc/rc.conf
.
https://github.com/depenguin-me/depenguin-builder/assets/741249/6b9f4fd9-145a-4de0-85cf-6281083bbc70
FreeBSD14 is released
https://www.freebsd.org/releases/14.0R/announce/
some late notes here
http://www.daemonology.net/blog/2023-11-21-late-breaking-FreeBSD-14-breakage.html
Some building and testing required
new feature request: include some basic recovery tools in customfiles/depenguin_packages.txt
Perhaps things like:
and one of:
I'm not sure which of the above are really useful for a recovery console?
We could also add a tool to watch a file for changes, one of:
These will inflate the size of the resulting image, but we can increase the limit by adjusting OUTIMAGESIZE="200m"
in build.sh
.
General Notice
Integrate MFSBSD into the release building tools
From https://wiki.freebsd.org/SummerOfCodeIdeas
Mentor: Brad Davis <brd AT freebsd DOT org>
Skills: C (beginner), make (intermediate), shell (intermediate)
Mid-term deliverable: 'make release' will build MFSBSD
Duration: 175 hours
Difficulty: Easy
Expected Outcome: Completed integration so all new releases of FreeBSD will include mfsbsd media
Description
MFSBSD is a version of FreeBSD designed to run from memory. It is often used as a rescue system, or the basis for automated installers.
It is currently maintained by a FreeBSD developer, Martin Matuška
The issue is that only images for the release versions are usually produced, and MFSBSD tends to get out of sync with the tools in base. There is a desire to have MFSBSD images of the weekly snapshots of -current and -stable that are created by the release engineering time. This requires that the process be automated as an additional target in the makefile in src/release. It would be similar to the process used now to generate VM images. Adding flexibility to the MFSBSD build system to control additional features would be a bonus
Modify build process to build mfsbsd images for 13.1, 13.2, 14.0 automatically.
There is a snapshot created for 14.0, and the link/naming would need to be updated when it's periodically refreshed.
Separately, in the run process, add an optional flag to select version, defaulting to 13.2?
(technically this is there already by referencing URL to image)
The default network settings on boot have the following in /etc/rc.conf
ifconfig_DEFAULT="DHCP"
Is this sufficient to get an IPv6 address, or is some other option required?
We are using this shellcheck action with 196 stars as follows
name: Shellcheck
on: [ pull_request ]
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -e SC1091 -e SC2034 -e SC2154 -e SC3040 -e SC2148
with:
scandir: '.'
additional_files: 'customfiles/sample.depenguin_settings.sh'
check_together: 'yes'
We are excluding problematic tests, which has criticism.
There is also this other shellcheck action with 1 star, which is used as follows, and may allow passing in the "-x" parameter
name: Shellcheck-other
on: [ pull_request ]
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ShellCheck
uses: sudo-bot/action-shellcheck@latest
with:
# https://github.com/koalaman/shellcheck#how-to-use
cli-args: "--format=checkstyle --severity=info script.sh"
*edit: fixed for correct link to original shellcheck in use
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.