Files
start-os/build
Aiden McClelland 068b861edc overhaul OS build (#2244)
* create init resize for pi

* wip

* defer to OS_ARCH env var

* enable password auth in live image

* use correct live image path

* reorder dependencies

* add grub-common as dependency

* add more depends

* reorder grub

* include systemd-resolved

* misc fixes

* remove grub from dependencies

* imports

* ssh and raspi builds

* fix resolvectl

* generate snake-oil on install

* update raspi build process

* script fixes

* fix resize and config

* add psmisc

* new workflows

* include img

* pass through OS_ARCH env var

* require OS_ARCH

* allow dispatching production builds

* configurable environment

* pass through OS_ARCH on compat build

* fix syntax error

* crossbuild dependencies

* include libavahi-client for cross builds

* reorder add-arch

* add ports

* switch existing repos to amd64

* explicitly install libc6

* add more bullshit

* fix some errors

* use ignored shlibs

* remove ubuntu ports

* platform deb

* Update depends

* Update startos-iso.yaml

* Update startos-iso.yaml

* require pi-beep

* add bios boot, fix environment

* Update startos-iso.yaml

* inline deb

* Update startos-iso.yaml

* allow ssh password auth in live build

* sync hostname on livecd

* require curl
2023-05-05 00:54:09 -06:00
..
2023-05-05 00:54:09 -06:00
2023-05-05 00:54:09 -06:00
2022-11-29 09:43:54 -07:00
2023-03-09 07:02:48 -07:00

Building Embassy OS

⚠️ The commands given assume a Debian or Ubuntu-based environment. Building in a VM is NOT yet supported ⚠️

Prerequisites

  1. Install dependencies
  1. Clone the latest repo with required submodules

    You chan check latest available version here

    git clone --recursive https://github.com/Start9Labs/embassy-os.git --branch latest
    

Build Raspberry Pi Image

cd embassy-os
make embassyos-raspi.img ARCH=aarch64

Flash

Flash the resulting embassyos-raspi.img to your SD Card

We recommend Balena Etcher

Setup

Visit http://embassy.local from any web browser - We recommend Firefox

Enter your product key. This is generated during the build process and can be found in product_key.txt, located in the root directory.

Troubleshooting

  1. I just flashed my SD card, fired up my Embassy, bootup sounds and all, but my browser is saying "Unable to connect" with embassy.local.
  • Try doing a hard refresh on your browser, or opening the url in a private/incognito window. If you've ran an instance of Embassy before, sometimes you can have a stale cache that will block you from navigating to the page.
  1. Flashing the image isn't working with balenaEtcher. I'm getting Cannot read property 'message' of null when I try.
  1. Startup isn't working properly and I'm curious as to why. How can I view logs regarding startup for debugging?
  • Find the IP of your device
  • Run nc <ip> 8080 and it will print the logs
  1. I need to ssh into my Embassy to fix something, but I cannot get to the console to add ssh keys normally.
  • During the Build step, instead of running just make embassyos-raspi.img ARCH=aarch64 run ENVIRONMENT=dev make embassyos-raspi.img ARCH=aarch64. Flash like normal, and insert into your Embassy. Boot up your Embassy, and on another computer on the same network, ssh into the Embassy with the username start9 password embassy.
  1. I need to reset my password, how can I do that?
  • You will need to reflash your device. Select "Use Existing Drive" once you are in setup, and it will prompt you to set a new password.