Outlined below is a general technique for running FreeBSD/arm (32-bit) in a chroot running on a FreeBSD/amd64 host. It will focus running FreeBSD 10.4, but can be used for any version. A user in the community is trying very hard to update a 10.4 machine to something newer and needs to build a new shell and is having trouble. So I went through these steps to create an environment where I could build it for him. I thought I'd document them for everybody.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use feature 'say'; | |
use Sys::Hostname; | |
use HTTP::Tiny; | |
# This script posts your OpenBSD dmesg to the NYC*BUG dmesg archive. |