Commit graph

10 commits

Author SHA1 Message Date
Gianluca Zuccarelli
f4d6bc587f Makefile: update installation
Small fix to the symlinking of ~/.local/share/cockpit.
2025-01-16 15:45:41 -06:00
Gianluca Zuccarelli
436b75b209 Makefile: fix cockpit/build target
Remove `npm ci` from the build target since setting the NODE_ENV
to production means that the dev dependencies aren't installed.

See:
https://github.com/osbuild/image-builder-frontend/pull/2701#discussion_r1905447709
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
1c8e76debf Makefile: add rpm build targets
Add some targets to help build rpm and srpms.
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
7824d047db Makefile: add install target
Add a simple install target that we can reference in the specfile.
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
c0ccec545a Makefile: add some convenenience functions
The on-prem version of this repo depends on the `cockpit` project. Some
of the files from the `cockpit` repo are needed to build and run this
project. These files are saved into the `pkg/lib` directory, this commit
adds some convenience scripts to the Makefile to do this.
2024-12-21 08:19:15 -06:00
Lucas Garfield
555116122f chore: drop unused Makefile bits 2024-11-01 09:53:38 -05:00
Michal Gold
28ba4af814 Makefile: add Makefile for building and installing cockpit plugin
Add some targets to the Makefile so we can install the on-prem frontend
as a cockpit plugin. based on starter-kit project
2024-10-30 10:36:18 -05:00
Ondřej Budai
12da2f7c43 src: move the first boot service into constants.ts
I don't think there's a value in having the unit encoded in base64.
It looks fishy, and it's error prone. We discovered that the
custom-first-boot.service file in aux was different than the base64-
encoded string. There was nothing malicious, but we apparently forgot
to rerun the Makefile target.

Instead, we can just put the raw script into constants.js and base64-
encode it on the fly. The cost is close to zero.

This way, we can also get rid of the aux dir, and of the Makefile
target. 🧹
2024-10-25 11:32:07 +02:00
Lukas Zapletal
17170b7495 src: update custom firstboot service for bootc 2024-10-15 08:48:01 +02:00
Lukas Zapletal
562a8c574e src: extract service file into separate file 2024-10-15 08:48:01 +02:00