Skip to content

Commit

Permalink
Update OBS packages location
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Feb 24, 2022
1 parent e81fe08 commit efa125a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions PACKAGING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Packaging

D-Installer packages are available in the [YaST:Head project in
OBS](https://build.opensuse.org/project/show/YaST:Head). This document summarizes the process we
follow to build those packages.
OBS](https://build.opensuse.org/project/show/YaST:Head:D-Installer). This document summarizes the
process we follow to build those packages.

## Service

You can check the current package in
[YaST:Head/rubygem-d-installer](https://build.opensuse.org/package/show/YaST:Head/rubygem-d-installer).
[YaST:Head/rubygem-d-installer](https://build.opensuse.org/package/show/YaST:Head:D-Installer/rubygem-d-installer).
At this point, D-Installer has not been released as a Rubygem yet, so you need to do an extra step.

The process to release a new version can be summarized in these steps:
Expand All @@ -26,7 +26,7 @@ in the repository](./yastd/package/gem2rpm.yml). To regenerate the spec, just ty
## Web interface

The current package is
[YaST:Head/d-installer-web](https://build.opensuse.org/package/show/YaST:Head/rubygem-d-installer).
[YaST:Head/d-installer-web](https://build.opensuse.org/package/show/YaST:Head:D-Installer/rubygem-d-installer).
You can figure out most details by checking the
[_service](_./web/package/_service) file. It might happen that you get
out of RAM when building the package, so in this case, it is better to
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ service. At first sight, we have identified these components:
:warning: :warning: **This is a proof-of-concept so use a virtual machine to give it a try.** :warning: :warning:

The easiest way to give D-Installer a try is to install the
[rubygem-d-installer](https://build.opensuse.org/package/show/YaST:Head/rubygem-d-installer) and
[d-installer-web](https://build.opensuse.org/package/show/YaST:Head/d-installer-web) packages in an
[openSUSE Tumbleweed Live image](https://get.opensuse.org/tumbleweed).
[rubygem-d-installer](https://build.opensuse.org/package/show/YaST:Head:D-Installer/rubygem-d-installer)
and
[d-installer-web](https://build.opensuse.org/package/show/YaST:Head:D-Installer/d-installer-web)
packages in an [openSUSE Tumbleweed Live
image](https://get.opensuse.org/tumbleweed).

You need to perform some additional steps, like starting the Cockpit service or setting a password
for the "linux" user. However, the repository contains [a script](./deploy.sh) that takes care of
Expand Down
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# This script is supposed to be used in an openSUSE Tumbleweed Live DVD.

sudo rpm --import https://build.opensuse.org/projects/YaST/public_key
sudo zypper ar -f https://download.opensuse.org/repositories/YaST:/Head/openSUSE_Tumbleweed/YaST:Head.repo
sudo zypper ar -f \
https://download.opensuse.org/repositories/YaST:/Head:/D-Installer/openSUSE_Tumbleweed/YaST:Head:D-Installer.repo
RUBY_VERSION=ruby:`rpm --eval '%{rb_ver}'`
sudo zypper --non-interactive in --no-recommends \
"rubygem($RUBY_VERSION:d-installer)" \
Expand Down

0 comments on commit efa125a

Please sign in to comment.