-
Notifications
You must be signed in to change notification settings - Fork 17
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
#GPII-1740: Implement automatic build of Linux Package #84
base: master
Are you sure you want to change the base?
Changes from all commits
686bfbe
e0d80c0
1242a0e
cb853f7
178ad59
9f8aba1
e5ada9b
e292b63
7868efc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,18 @@ this may prompt you for sudo access. | |
grunt install | ||
grunt uninstall | ||
|
||
## Building a RPM package | ||
|
||
We use Docker to build the RPM package in a clean environment, this also avoids | ||
to polute your environment. | ||
|
||
To build a RPM package run the following command at the root of the git repository: | ||
|
||
grunt build-rpm-docker | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had to run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm getting the following error:
Full output: https://gist.github.com/gtirloni/6edd489d441f476869cb2638fdabd250 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems like the directories /sync and /packages don't exist inside the official fedora image. I'm wondering if basing this work on our RPM builder image would be better (https://github.com/idi-ops/docker-centos-rpm-builder), but I guess that would be built against CentOS and we're targeting Fedora desktop packages here, right? Maybe this affords building a |
||
|
||
you will get the rpm package and the source files of the package in the ``bin`` | ||
directory. | ||
|
||
# Setting Up a Virtual Machine | ||
|
||
This repository contains content that will allow you to automatically provision a development VM. A [Vagrantfile](http://docs.vagrantup.com/v2/vagrantfile/) is provided that downloads a [Fedora Vagrant box](https://github.com/idi-ops/packer-fedora), starts a VM, and deploys the GPII Framework on it. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=GPII Linux | ||
Exec=/usr/bin/gpii-linux-start | ||
OnlyShowIn=GNOME; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
systemctl --user import-environment | ||
cd /opt/gpii-linux | ||
node gpii.js |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Use with Systemd > 219 | ||
[Unit] | ||
Description=Components of the GPII personalization infrastructure for use on Linux | ||
Documentation=http://gpii.net | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/usr/bin/gpii-linux-start | ||
WorkingDirectory=/opt/gpii-linux | ||
Restart=on-failure | ||
|
||
[Install] | ||
WantedBy=default.target | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this
>= 6.9.2
just to ensure people are using a modern environment?