Skip to content

Commit

Permalink
Makefile: update metainfo in cockpit dir
Browse files Browse the repository at this point in the history
In order to install cockpit-composer through cockpit the metainfo.xml
should be copide into the cockpit/composer directory. Naming this
org.image-builder... follows the standard styling of metainfo.xml.
  • Loading branch information
jkozol authored and lucasgarfield committed Feb 26, 2024
1 parent 1e5cf5e commit 9044d6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cockpit-composer.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ the cloud. It integrates into Cockpit as a frontend for osbuild.
mkdir -p %{buildroot}/%{_datadir}/cockpit/composer
cp -a public/* %{buildroot}/%{_datadir}/cockpit/composer
mkdir -p %{buildroot}/%{_datadir}/metainfo/
appstream-util validate-relax --nonet public/io.weldr.cockpit-composer.metainfo.xml
cp -a public/io.weldr.cockpit-composer.metainfo.xml %{buildroot}/%{_datadir}/metainfo/
appstream-util validate-relax --nonet public/org.image-builder.cockpit-composer.metainfo.xml
cp -a public/org.image-builder.cockpit-composer.metainfo.xml %{buildroot}/%{_datadir}/metainfo/

%files
%doc README.md
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="addon">
<id>io.weldr.cockpit_composer</id>
<id>org.image-builder.cockpit-composer</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Image Builder</name>
<summary>
Expand Down

0 comments on commit 9044d6b

Please sign in to comment.