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
| #!/bin/bash | |
| PART_NAME="linux" | |
| IMG_NAME="emile.img" | |
| PART_SIZE=$((1024*1024*1000)) | |
| BS=$((1024*1024)) | |
| # HD0-OpenRetroSCSI-7.5.3.hda | |
| # https://mega.nz/folder/8hA3AQCJ#pWUq92L70yDXlogy9lk5Dg/file/hkIxnQ4S | |
| #mv HD0-OpenRetroSCSI-7.5.3.hda MacOS.img | |
| cp MacOS.img "$IMG_NAME" |
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
| #!/bin/bash | |
| do_install() { | |
| cat <<EOF > /etc/systemd/system/ronginx.service | |
| [Unit] | |
| Description=Read-only filesystem support for Nginx | |
| After=tmp.mount | |
| [Service] | |
| Type=oneshot |
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
| # Dockerfile to build a bootable Debian image for MIPS Magnum platform using GRUB as bootloader | |
| # Steps to build and run: | |
| # mkdir tmpdir && cd tmpdir | |
| # podman build -v $(pwd):/workspace --target build . | |
| # podman build -v $(pwd):/workspace --target grubexe . | |
| # podman build -v $(pwd):/workspace --device /dev/fuse --cap-add SYS_ADMIN --target rootfs . | |
| # podman build -v $(pwd):/workspace --target final . | |
| # qemu-system-mips64el -M magnum -m 128 -net nic -net user -global ds1225y.filename=nvram -bios NTPROM.RAW -hda disk.img | |
| # rootfs may take a while, you can use your host debootstrap to speed it up. |
OlderNewer