Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPMbuild Support #613

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

RPMbuild Support #613

wants to merge 31 commits into from

Conversation

syslogic
Copy link

@syslogic syslogic commented Jul 11, 2024

The *.spec files already produce these RPM packages:

cuttlefish-base-0.9.29-1.el9.x86_64.rpm
cuttlefish-user-0.9.29-1.el9.x86_64.rpm
cuttlefish-integration-0.9.29-1.el9.x86_64.rpm
cuttlefish-orchestration-0.9.29-1.el9.x86_64.rpm

I'd probably would need more information, eg. what to build with bazel
and also, which packages are even required and which files to package.

@syslogic syslogic changed the title rpmbuild support for base & user. RPMbuild Support Jul 11, 2024
@syslogic syslogic requested a review from ikicha as a code owner July 11, 2024 17:38
frontend/src/operator/webui/package-lock.json Outdated Show resolved Hide resolved
tools/buildutils/build_packages.sh Show resolved Hide resolved
@syslogic
Copy link
Author

It seems to work so far, just needs more testing on the target system.
Had to edit the init-script, because there is no command rh_status.

This is the command, which I use for testing the package-scripts ...

sudo dnf -y remove cuttlefish-* && \
tools/buildutils/build_packages.sh && \
sudo rpm -i ./tools/rpmbuild/RPMS/x86_64/cuttlefish-base-0.9.29-1.el9.x86_64.rpm \
./tools/rpmbuild/RPMS/x86_64/cuttlefish-user-0.9.29-1.el9.x86_64.rpm \
./tools/rpmbuild/RPMS/x86_64/cuttlefish-orchestration-0.9.29-1.el9.x86_64.rpm \
./tools/rpmbuild/RPMS/x86_64/cuttlefish-integration-0.9.29-1.el9.x86_64.rpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants