We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

How to install a custom RPM into the emulator VM? [answered]

asked 2014-01-04 12:41:38 +0200

epsilonijk gravatar image

Thanks to Kontio, I was able to compile RPMs of the nemo-qml-plugin-alarms-qt5 package for i486-x86 and armv7hl. Now, obviously, the package is still missing in the SDK emulator VM.

What is the preferred way to install packages into the emulator VM? Just rsync and then rpm -i?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2014-09-15 17:39:31.297018

2 Answers

Sort by » oldest newest most voted
1

answered 2014-01-09 09:45:06 +0200

kaltsi gravatar image

The command line to install an rpm package is:

pkcon install-local package.rpm

That's also what Qt Creator uses when it deploys an rpm.

edit flag offensive delete publish link more
0

answered 2014-01-04 13:26:41 +0200

Tanghus gravatar image

Select Debug in the lower, left pane. From the "pop-out" select

  • Project: Your project
  • Kit: SailfishOS-i486-x86
  • Build: Debug
  • Deploy: Deploy as RPM Package
edit flag offensive delete publish link more

Comments

Sorry, I didn't mean from Qt Creator but a separate RPM package. Basically, I wonder what Qt Creator does for the deployment, so I can do it manually from the command line.

epsilonijk ( 2014-01-04 21:11:23 +0200 )edit

I guess you can scp it to the emulator and then do (not sure of syntax, apt man myself) pkcon install package.rpm something like that

Tanghus ( 2014-01-04 22:22:01 +0200 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-01-04 12:41:38 +0200

Seen: 558 times

Last updated: Apr 15 '14