https://github.com/potcfdk/arm-image-installer
GitHub mirror of arm-image-installer - updated: Wed Jan 13 19:00:51 CET 2021
https://github.com/potcfdk/arm-image-installer
Last synced: 8 months ago
JSON representation
GitHub mirror of arm-image-installer - updated: Wed Jan 13 19:00:51 CET 2021
- Host: GitHub
- URL: https://github.com/potcfdk/arm-image-installer
- Owner: PotcFdk
- License: gpl-2.0
- Created: 2019-07-17T22:01:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-08T18:00:55.000Z (over 5 years ago)
- Last Synced: 2025-05-13T15:57:05.024Z (about 1 year ago)
- Language: Shell
- Homepage: https://pagure.io/arm-image-installer
- Size: 140 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
- Support: SUPPORTED-BOARDS
- Authors: AUTHORS
Awesome Lists containing this project
README
ARM Tools for writing disk images
=================================
arm-image-installer
-------------------
This script will automate the process of preparing a Fedora
ARM disk image for use with various hardware targets.
- Write the selected disk image to media (optional)
- customize media with platform specific U-Boot file(s)
- Turn SE Linux on and off
- Remove the root password
- Update U-Boot for another Target
To add additional support, create a code snippet file
(bash script) in the "boards.d" subdirectory with the commands
needed to write U-Boot for the target board.
Usage: arm-image-installer
--image=IMAGE - xz compressed image file name
--media=DEVICE - media device file (/dev/[sdX|mmcblkX])
Optional
--addconsole - Add system console kernel parameter for the target
--addkey - /path/to/ssh-public-key
--args - Optional kernel parameters listed in quotes
--norootpass - Remove the root password
--relabel - SELinux relabel root filesystem on first boot
--resizefs - Resize root filesystem to fill media device
--sysrq - Enable System Request debugging of the kernel
--target=TARGET - target board for uboot
-y - Assumes yes, will not wait for confirmation
Help
--supported - List of supported hardware
--version - Display version and exit
Example: arm-image-installer --image=Fedora-Rawhide.xz --target=panda --media=/dev/mmcblk0 --selinux=OFF
update-uboot
------------
Update to a new u-boot on a disk image from a local host install. Optionally download a specified
newer u-boot from koji by specifying a koji tag.
Usage: update-uboot
--media=DEVICE - media device file (/dev/[sdX|mmcblkX])
--tag=KOJI TAG - koji tag to download build
--target=TARGET - target board
Example: update-uboot --target=panda --media=/dev/mmcblk0