Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
openSUSE-MicroOS
editbootinstall_rock64.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File editbootinstall_rock64.sh of Package openSUSE-MicroOS
#!/bin/bash set -euxo pipefail diskname=$1 devname="$2" loopname="${devname%*p?}" loopdev=${loopname#/dev/mapper/*} echo "Installing idbloader..." if ! dd if=boot/idbloader.img of=$diskname bs=512 seek=64 conv=notrunc; then echo "Failed to install" exit 1 fi echo "Installing u-boot..." if ! dd if=boot/u-boot.itb of=$diskname bs=512 seek=16384 conv=notrunc; then echo "Failed to install" exit 1 fi echo "Installing startup.nsh..." mkdir ./mnt-rock64 mount ${loopname}p1 ./mnt-rock64 echo "bootaa64" > mnt-rock64/startup.nsh umount ./mnt-rock64 rmdir ./mnt-rock64
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor