This file contains 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
#!/bin/bash -ex | |
# This script generates a 64-bit kernel and minimal 64-bit Ubuntu 18.04 rootfs for the Raspberry Pi 3 based on the Ubuntu Base release (https://wiki.ubuntu.com/Base). | |
# Requires a recent version of Ubuntu to run this build script. 8 GB RAM or more is recommended, and 5GB - 10GB free disk space. | |
# Optionally, a 32-bit kernel may be built for the Raspberry Pi 2 by exporting KERNEL=kernel7 before running the script. | |
# This script is a little bit like https://github.com/RPi-Distro/pi-gen but for Ubuntu instead of Raspbian. | |
# User name and host name may be customized in the following lines. | |
# Locale settings and user password are prompted for towards the end of the script. |
This file contains 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
#!/bin/bash -ex | |
# Copyright (c) 2018, DornerWorks, Ltd. | |
# Author: Stewart Hildebrand | |
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the | |
# following conditions are met: | |
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following | |
# disclaimer. |