Skip to content

Commit 627836f

Browse files
committed
libvpx-devel added. patching zlib on %prep instead of %build.
1 parent c33dac3 commit 627836f

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

tools/rpmbuild/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
## RPM Buildroot
1+
## Android Cuttlefish RPM for Red Hat Enterprise Linux
22

3-
The RPM SPECS can be built on RHEL with:
3+
The RPM packages can be built on RHEL 9 with:
44

55
./tools/buildutils/build_packages.sh
66

7-
Or on any OS, within a Docker container, which lives at [`docker/rpm-builder`](https://github.com/google/android-cuttlefish/tree/rpmbuild/docker/rpm-builder).
7+
Which calls `build_rpm_spec.sh`, when `dnf` is being detected:
88

9+
./docker/rpm-builder/build_rpm_spec.sh
10+
11+
Or on any OS, within a Docker container, which lives at [`docker/rpm-builder`](https://github.com/google/android-cuttlefish/tree/main/docker/rpm-builder).

tools/rpmbuild/SPECS/cuttlefish_base.spec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ Cuttlefish Android Virtual Device that are used in all deployments.
2929
%prep
3030
%define workdir `pwd`
3131

32-
33-
%build
3432
# The root module requires module version [email protected],
3533
# but got [email protected] in the resolved dependency graph.
3634
/home/runner/patch_zlib.sh
3735

36+
%build
3837
cd ../../../base/cvd && bazel build --ui_event_filters=-INFO --verbose_failures ...
3938

4039
%install

tools/rpmbuild/SPECS/cuttlefish_orchestration.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ install -m 544 %{srcpath}/etc/sudoers.d/cuttlefish-orchestration %{buildroot}/et
5757
%post
5858
ln -sf /usr/lib/cuttlefish-common/bin/cvd /usr/bin/fetch_cvd
5959

60-
# The cvdnetwork group is created by cuttlefish-base
60+
# The `cvdnetwork` group is being created by cuttlefish-base.
6161
if ! getent passwd _cvd-executor > /dev/null 2>&1 ; then
6262
adduser --system --shell /sbin/nologin --home /var/empty --no-create-home _cvd-executor
6363
usermod -a -G cvdnetwork,kvm _cvd-executor

tools/rpmbuild/SPECS/cuttlefish_user.spec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ mkdir -p %{buildroot}/usr/share/cuttlefish-common/operator/static
4141
%define srcpath ../../../frontend/src
4242
install -m 755 %{srcpath}/host_orchestrator/host_orchestrator %{buildroot}/usr/lib/cuttlefish-common/bin/host_orchestrator
4343
install -m 755 %{srcpath}/operator/operator %{buildroot}/usr/lib/cuttlefish-common/bin/operator
44-
install -m 655 %{srcpath}/operator/intercept/js/server_connector.d.ts %{buildroot}/usr/share/cuttlefish-common/operator/intercept/js/server_connector.d.ts
44+
# install -m 655 %{srcpath}/operator/intercept/js/server_connector.d.ts %{buildroot}/usr/share/cuttlefish-common/operator/intercept/js/server_connector.d.ts
4545
install -m 655 %{srcpath}//operator/intercept/js/server_connector.js %{buildroot}/usr/share/cuttlefish-common/operator/intercept/js/server_connector.js
4646

4747
%define srcpath ../../../frontend/src/operator/webui/dist/static
@@ -53,8 +53,7 @@ done
5353
%files
5454
/usr/lib/cuttlefish-common/bin/host_orchestrator
5555
/usr/lib/cuttlefish-common/bin/operator
56-
57-
/usr/share/cuttlefish-common/operator/intercept/js/server_connector.d.ts
56+
# /usr/share/cuttlefish-common/operator/intercept/js/server_connector.d.ts
5857
/usr/share/cuttlefish-common/operator/intercept/js/server_connector.js
5958

6059
/usr/share/cuttlefish-common/operator/static/index.html

0 commit comments

Comments
 (0)