Skip to content

Commit

Permalink
redline-rpm upgrade to fix the 'cpio: Bad magic' error when installin…
Browse files Browse the repository at this point in the history
…g the RM package (#282)
  • Loading branch information
ebourg committed Feb 14, 2025
1 parent 390e587 commit 068dfb7
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions jsign/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,19 @@
</goals>
<configuration>
<target>
<taskdef name="redline" classname="org.freecompany.redline.ant.RedlineTask" classpath="maven.plugin.classpath" />

<redline destination="${project.build.directory}" group="Development/Tools" name="${project.artifactId}" version="${project.version}" url="${project.url}">
<taskdef name="redline" classname="org.redline_rpm.ant.RedlineTask" classpath="maven.plugin.classpath" />

<loadresource property="rpm.version">
<propertyresource name="project.version"/>
<filterchain>
<tokenfilter>
<filetokenizer/>
<replacestring from="-SNAPSHOT" to=".SNAPSHOT"/>
</tokenfilter>
</filterchain>
</loadresource>

<redline destination="${project.build.directory}" group="Development/Tools" name="${project.artifactId}" version="${rpm.version}" url="${project.url}">
<tarfileset dir="${project.build.directory}/deb/data" excludes="**/*.sh"/>
<tarfileset dir="${project.build.directory}/deb/data" includes="**/*.sh" filemode="755"/>
<tarfileset dir="${project.build.directory}" prefix="/usr/share/${project.artifactId}">
Expand All @@ -335,7 +345,7 @@
<dependency>
<groupId>org.redline-rpm</groupId>
<artifactId>redline</artifactId>
<version>1.1.12</version>
<version>1.2.10</version>
</dependency>
</dependencies>
</plugin>
Expand Down

0 comments on commit 068dfb7

Please sign in to comment.