-
Notifications
You must be signed in to change notification settings - Fork 154
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
write package as an rpm (/bin/pacakge make) #1480
Comments
hi,
there's no automatic way to do it.
you could use bin/package to first build the binaries,
then package write to make binary packages for INIT and ast (or ksh
specifically),
then use the .tgz files generated to make an RPM.
you would need to write the RPM spec.
it's a similar mechanism if you want to include the ast software in a
container.
lefteris
…On 2020-06-07 14:23, sunchill06 wrote:
Hi @lkoutsofios <https://github.com/lkoutsofios>
How can I use /bin/package to write the ksh package as an rpm?
There are no examples given?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1480>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACP3YAQPJVAFB3FHY2N33W3RVPLKTANCNFSM4NXQDZ4Q>.
|
Thanks for responding. I tried package write but somehow it fails. I did package write rpm, but it fails. How to execute package write, any examples? Appreciate your help. |
For more information: Now my intention is to create an rpm out of this. So I ran package write, but it gives me this error: package: binary or source operand expected How to get around this? |
I think this will work:
./bin/package write base binary INIT ast
then in ./lib/package/tgz you should see files like these:
INIT.2020-06-08.linux.i386-64.md5
INIT.2020-06-08.linux.i386-64.tgz
INIT.linux.i386-64.tim
PACKAGE.linux.i386-64.lst
ast.2020-06-08.linux.i386-64.md5
ast.2020-06-08.linux.i386-64.tgz
ast.linux.i386-64.tim
…On 2020-06-07 23:55, sunchill06 wrote:
For more information:
Initially I ran package make, this created all the binaries inside
*arch/linux.i386-64/bin*
Now my intention is to create an rpm out of this. So I ran package
write, but it gives me this error:
*package: binary or source operand expected*
How to get around this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1480 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACP3YAXGKIWE6VDQ7X3LCLLRVROKHANCNFSM4NXQDZ4Q>.
|
Thanks a lot, it worked. Though it did not have ksh binary. Will this be the command for generating ksh tar? |
if ksh was built it should be in the .tgz tar file.
you can use package to generate a .gz of the ksh binary with the command
./bin/package write base binary ksh
but that is just the ksh binary compressed, not very useful.
…On 2020-06-08 13:17, sunchill06 wrote:
Thanks a lot, it worked. Though it did not have ksh binary.
Will this be the command for generating ksh tar?
./bin/package write base binary ksh ast
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1480 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACP3YAWAZ7RQWQIIZSLVIILRVUMKFANCNFSM4NXQDZ4Q>.
|
Hi @lkoutsofios
How can I use /bin/package to write the ksh package as an rpm?
There are no examples given?
The text was updated successfully, but these errors were encountered: