Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 15 guests | Time: 03:50
Big Problem with UPKG and my installer-files
paldo Support Forum    paldo    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
3 posts found.
 Big Problem with UPKG and my installer-files
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I'm using this spec for installing my installer files to the iso:

=================================================================
<?xml version="1.0"?>
<package name="paldo-installer">
<description>[Paldo-Installer by Amnon82]</description>
<releases>
<release version="20070512" revision="1" branch="stable" arch="x86">
<deps>
<dep name="tcl"/>
<dep name="tk"/>
<dep name="xkmap"/>
<dep name="gparted"/>
<dep name="gdk-pixbuf"/>
<dep name="smooth-themes"/>
</deps>
<build>
<script>
<archive name="$NAME-x86-$VERSION">
<!-- it creates installer-folder in upkg-folder -->
<cmd>mkdir -p /paldo</cmd>
<cmd>cp -R installer /paldo</cmd>
<cmd>chmod a+x /paldo/installer/*</cmd>
<cmd>chmod a-x /paldo/installer/pinstaller.xpm</cmd>
<text dest="/usr/share/applications/pinstaller.desktop"><![CDATA
Encoding=UTF-8
Name=Install Paldo
Comment=This installs paldo to your hdd
Exec=/paldo/installer/paldoinstaller
Icon=/paldo/installer/pinstaller.xpm
Terminal=false
Type=Application
Categories=Application;System;
StartupNotify=true
]]></text>
</archive>
</script>
</build>
</release>
=============================================================



Upkg can't handle that. I got always broken binariy-files of my installer.
Maybe this helps:

cp -a installer /paldo
Profile   Private Message   E-Mail
Created: 2007-05-14 09:35 | Modified: 2007-05-14 09:37 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Big Problem with UPKG and my installer-files
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
It was the stripping:

<dep name="gdk-pixbuf"/>
</deps>
<build strip="no">
<script>
<archive name="$NAME-x86_64-$VERSION">
<!-- it creates installer-folder in upkg-folder -->
Profile   Private Message   E-Mail
Created: 2007-05-14 09:52
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Big Problem with UPKG and my installer-files
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
These are my stripcmds:

<!-- strip binaries -->
<cmd>find $CHROOTDIR{,/usr}{/bin,/lib,/sbin} -name '*.a' -o -name '*.o' -o -name '*.ko' -type f -exec /usr/bin/strip --strip-debug '{}' \;</cmd>
<cmd>find $CHROOTDIR{,/usr}{/bin,/lib,/sbin} -not -name '*.a' -not -name '*.o' -not -name '*.ko' -not -name '*.exe' -not -name '*.dll' -type f -exec /usr/bin/strip --strip-unneeded '{}' \;</cmd>

do they also affect the folder /paldo/installer or is it a cp problem?
Profile   Private Message   E-Mail
Created: 2007-05-14 10:11
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a