Commit Graph
68 Commits
Author SHA1 Message Date
Ryan Hughes 8b0fd93011 chown the package build dir to the builder user
makepkg runs as the builder user and needs to write PKGDEST. /tmp/omarchy-pkg-build
is created by root, so without an explicit chown the build aborts with
'You do not have write permission for the directory $PKGDEST'.
2026-05-20 21:38:09 -04:00
Ryan Hughes b34f53629d Validate --local-source paths before any sudo work
Also includes the build-iso.sh cleanup that I prepared earlier but
forgot to stage (replacing the inline ugly $(...) conditional pipe
with a normal if/then-fi block).
2026-05-20 21:36:31 -04:00
Ryan Hughes e427304f29 Make --local-source require explicit checkout paths
Dropped the sibling-dir convention ($BUILD_ROOT/../omarchy-installer
etc.). Callers now pass paths explicitly:

  omarchy-iso-make --local-source <installer-checkout> <pkgs-checkout>

Errors clearly if either path is missing or doesn't exist.
2026-05-20 21:35:46 -04:00
Ryan Hughes b8df9d3f50 Make --local-source the opt-in; default to network omarchy mirror
The previous version made the local build the only path. Convention is
the opposite: omarchy-iso-make pulls released omarchy* packages from
the omacom-pkgs.org mirror by default, and only builds from local
checkouts when explicitly asked via --local-source.

- bin/omarchy-iso-make: only mount /omarchy-installer + /omarchy-pkgs
  when --local-source is set. Default has neither mount.
- builder/build-iso.sh: skip build-omarchy-packages.sh when no local
  source. Don't filter the omarchy* names out of the pacman -Syw list
  in network mode (so they get downloaded from the mirror). With
  --local-source, the four package names are stripped after assembly
  so we don't re-fetch what we just built.
- For the package-list source: with /omarchy-installer mounted, read
  omarchy-base.packages from the checkout. Without it, briefly pull
  the published omarchy package, extract the .packages files from it
  to /tmp, and use those.
2026-05-20 21:34:49 -04:00
Ryan Hughes 9f4e5feef0 Refactor ISO build for the package-backed install flow
The ISO no longer carries a cp -r'd copy of the omarchy git checkout
into /root/omarchy and the target /home/$user/.local/share/omarchy.
Instead it builds omarchy-installer + omarchy-settings + omarchy +
omarchy-limine from mounted source trees (${OMARCHY_INSTALLER_PATH:-
../omarchy-installer} and ${OMARCHY_PKGS_PATH:-../omarchy-pkgs}),
drops them in the offline mirror, and pacstraps omarchy-installer
during the target install — which deps-in the other three.

- builder/build-omarchy-packages.sh: new. Builds the four packages
  inside the ISO build container using each PKGBUILD's OMARCHY_SRC
  override (introduced in Chunk 2). Creates a 'builder' user because
  makepkg refuses to run as root. Drops the resulting .pkg.tar.zst
  files into the offline-mirror directory.

- builder/build-iso.sh: drop the git clone / -v omarchy mount path;
  call build-omarchy-packages.sh first; filter out the locally-built
  package names from the rest-of-mirror download so we don't try to
  fetch them from the network mirror.

- configs/airootfs/root/.automated_script.sh: replace the install_omarchy
  cp-and-source dance with 'arch-chroot pacman -S omarchy-installer'
  followed by 'OMARCHY_INSTALL_MODE=offline omarchy-install'. Drop the
  big chown/chmod block that was setting up the cloned tree.
  use_omarchy_helpers extracts the installer's helpers/ tree directly
  from the offline-mirror's omarchy-installer-*.pkg.tar.zst so the live
  ISO has access to gum-styled logging before pacstrap.

- bin/omarchy-iso-make: always mount omarchy-installer and omarchy-pkgs
  (paths configurable via OMARCHY_INSTALLER_PATH / OMARCHY_PKGS_PATH;
  default to ../omarchy-installer and ../omarchy-pkgs). --local-source
  is now a back-compat no-op.
2026-05-20 21:29:40 -04:00
Ryan Hughes 5756f35844 Update pacman conf to use for build 2026-02-19 12:44:54 -05:00
Ryan Hughes 83a54e7fd5 Use offline for boot 2026-02-19 12:15:39 -05:00
Ryan Hughes e3cb89d712 Add missing steps for rclone setup 2025-12-16 15:12:41 -05:00
Ryan Hughes 26805d9dd2 Skip wifi check 2025-11-26 01:33:03 -05:00
Ryan Hughes 1a886cb5de Update archiso 2025-11-26 01:29:16 -05:00
Ryan Hughes 09913880e6 Add omarchy-keyring and keys 2025-10-27 17:04:20 -04:00
Ryan Hughes aa75d85d14 Add prompt to boot an iso 2025-10-27 17:04:10 -04:00
Ryan Hughes ec1405625f Fix error display when failing during early archinstall 2025-10-27 11:15:53 -04:00
Ryan Hughes 82f854054e Merge pull request #52 from dakshesh14/fix/password_opensll
fix: iso setup failing when password starts with dash(-)
2025-10-27 11:11:35 -04:00
Ryan Hughes 27b332c64f Merge pull request #57 from omacom-io/revert-54-patch-1
Revert "Harden ingest of user-provided passphrase"
2025-10-27 01:56:26 -04:00
Ryan Hughes 9ad1706ce3 Revert "Harden ingest of user-provided passphrase" 2025-10-27 01:55:54 -04:00
Ryan Hughes 401446dac0 Merge pull request #54 from wolfgangw/patch-1
Harden ingest of user-provided passphrase
2025-10-25 16:35:07 -04:00
Ryan Hughes 18f728a42e Add node package to install by default 2025-10-18 14:28:52 -04:00
Ryan Hughes fd964ceaf5 Add loopback.cfg 2025-10-15 13:36:07 -04:00
Ryan Hughes 1fdccb2546 Update archiso 2025-10-15 13:00:35 -04:00
Ryan Hughes 220dbda602 Add omarchy-vm 2025-10-08 21:16:51 -04:00
Ryan Hughes 8f844655b7 Fix ownership issues 2025-10-08 20:42:06 -04:00
Ryan Hughes 59a17acf88 Reboot when signaled by installer 2025-10-08 20:41:29 -04:00
Ryan Hughes 7598e58d0b Add French (Switzerland) 2025-09-28 16:17:23 -04:00
Ryan Hughes 26daaaa625 Update keyboard options to be valid 2025-09-28 16:14:18 -04:00
Ryan Hughes 02a9d48312 Update profiledef 2025-09-28 15:42:21 -04:00
Ryan Hughes f2fb26ad7d Archiso update 2025-09-28 14:15:09 -04:00
Ryan Hughes c23e0e7b3d Config updates 2025-09-21 23:47:10 -04:00
Ryan Hughes 5b9bf620ff Use grub 2025-09-21 23:47:05 -04:00
Ryan Hughes 3e37f6d28a Fix hooks that were missing 2025-09-21 23:46:36 -04:00
Ryan Hughes 5adefedad2 Add ability to ssh into client + easier boot menu access 2025-09-21 23:46:18 -04:00
Ryan Hughes e50bad3672 Add alsa-firmware 2025-09-20 15:36:06 -04:00
Ryan Hughes bb8ba99edc Remove ruby mount 2025-09-17 16:48:47 -04:00
Ryan Hughes 0638855a5b Change ISO kernel to T2 patched for E2E support 2025-09-14 14:36:26 -04:00
Ryan Hughes 234b54c0de Change T2 upstream to the github mirror for now 2025-09-14 14:35:27 -04:00
Ryan Hughes c1197a3f58 Add plymouth 2025-09-12 00:48:41 -04:00
Ryan Hughes c040ef60b9 Updates 2025-09-12 00:48:41 -04:00
Ryan Hughes 64586ce881 Consolidate logic 2025-09-12 00:48:41 -04:00
Ryan Hughes a5ab0fbbce Revert "Revert precompiled ruby due to issues"
This reverts commit 86f7cb6f712292694aefbd851829746bc31a2491.
2025-09-12 00:48:41 -04:00
Ryan Hughes 4d7567d840 Revert precompiled ruby due to issues 2025-09-12 00:48:41 -04:00
Ryan Hughes efecc030a3 Update trap 2025-09-12 00:48:41 -04:00
Ryan Hughes 22988b2f3b Remove redundant cache mount 2025-09-12 00:48:41 -04:00
Ryan Hughes b423f7481d Clean up confusing / repetitive build 2025-09-12 00:48:41 -04:00
Ryan Hughes 3f64ac5656 Name cache dir appropriately 2025-09-12 00:48:41 -04:00
Ryan Hughes 555be32eb2 Add precompiled ruby to cache 2025-09-12 00:48:41 -04:00
Ryan Hughes bf52be4bac Update name 2025-09-12 00:48:41 -04:00
Ryan Hughes 2252cb4b87 Add flag for offline install 2025-09-12 00:48:41 -04:00
Ryan Hughes 6761b0ca8e Combine logs and upload 2025-09-12 00:48:41 -04:00
Ryan Hughes f52c16ac86 Add a couple more missing packages for offline mirror 2025-09-12 00:48:41 -04:00
Ryan Hughes ef65dfdbfd Revert multilib for actual install 2025-09-12 00:48:41 -04:00
Ryan Hughes 6dfe647d3d Add nvidia pkgs 2025-09-12 00:48:41 -04:00
Ryan Hughes 32959cf7fe Add ucode packages 2025-09-12 00:48:41 -04:00
Ryan Hughes 133f5b7b03 Add log util 2025-09-12 00:48:41 -04:00
Ryan Hughes d1515212c0 Copy icons over 2025-09-12 00:48:41 -04:00
Ryan Hughes af84cbfc0e Add new packages for 2.1.0 2025-09-12 00:48:41 -04:00
Ryan Hughes e193f3a2f3 Add tui icons 2025-09-12 00:48:41 -04:00
Ryan Hughes 979ca53d39 Add icons for webapps 2025-09-12 00:48:41 -04:00
Ryan Hughes e1b059b55e Add font config to resolve fc-cache error 2025-09-12 00:48:41 -04:00
Ryan Hughes aca151fe51 Move lazyvim up 2025-09-12 00:48:41 -04:00
Ryan Hughes 04bf8f097a Update package list 2025-09-12 00:48:41 -04:00
Ryan Hughes 10c0687297 Update the package repo to pull from 2025-09-12 00:48:41 -04:00
Ryan Hughes c9947ea965 Don't need this with the flag 2025-09-12 00:48:41 -04:00
Ryan Hughes c089a3b6f7 Tons of tweaks to reach working v1 2025-09-12 00:48:41 -04:00
Ryan Hughes e1429b743b Package updates 2025-09-12 00:48:41 -04:00
Ryan Hughes 287a3b9bb9 Update dir paths 2025-09-12 00:48:41 -04:00
Ryan HughesandDavid Heinemeier Hansson f4b6222c1c Preserve firmware with reuse + use local pacman cache if you have it (#28)
* Keep firmware vars too if we run as reuse

* Leverage local cache for faster builds if we have it

* Convenience

* Also set the URL

* Normally do want boot

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
2025-08-30 08:37:37 +02:00
Ryan Hughes 35bd1df498 Add support for variable repo and refs (#23)
* Add ability to define repo / refs to use

* Add bare mode
2025-08-23 08:52:00 +02:00
Ryan Hughes 72d9eaa417 Persist firmware if --storage is defined, fix video, and remove --headless (#11)
* Persist firmware if --storage is defined

* Fix video device to be correct to work with hyprland

* Remove headless
2025-08-20 15:52:10 +02:00