https://github.com/prodeveloper0/alpine-builder-luckfox
Alpine Linux root file system builder for Luckfox
https://github.com/prodeveloper0/alpine-builder-luckfox
Last synced: 11 months ago
JSON representation
Alpine Linux root file system builder for Luckfox
- Host: GitHub
- URL: https://github.com/prodeveloper0/alpine-builder-luckfox
- Owner: prodeveloper0
- License: mit
- Created: 2024-06-15T14:17:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-16T14:24:42.000Z (over 1 year ago)
- Last Synced: 2025-01-03T16:25:39.219Z (about 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
Alpine Linux root file system builder for luckfox SBC
# Requirements
I tested on my Ubuntu 22.04.4 LTS
* Ubuntu 22.04.4 LTS
* Docker
# Usage
1. Run `build-docker.sh` to build base Alpine Linux image by docker
2. Run `build-rootfs.sh` to build Alpine Linux rootfs
3. Use `alpine.tar.gz` as root file system in your luckfox SBC
# Customization
## Install packages by `*.packages`
You can add package installation scripts in `*.packages` directory.
package installation scripts are executed brefore building rootfs structure.
__SCRIPTS IN `*.packages` MUST BE EXECUTABLE__
## Add files or directories by `*.overlay`
You can create built-in file system structure or add files in `*.overlay` directory.
overlay file system is applied before archiving rootfs.
# Build SDK with custom rootfs
luckfox provides a method to build SDK with custom rootfs.
https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-Alpine-Linux-2#9-package-the-rootfs-and-integrate-it-into-the-sdk-for-image-building