openSUSE Forums > openSUSE Build Service (OBS) » %post and internet connection

Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-Sep-2009, 18:06
etamPL's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Location: Warsaw, Poland
Posts: 41
etamPL hasn't been rated much yet
Default %post and internet connection

I wanted to create a package with a post script, that will download a program from internet and install it. (I want to do this, because license doesn't allow redistribution)

I wrote a script, but when building package it cannot connect with internet.

Is it a bug in OBS or should I do it in some other way?
__________________
OpenSuSE 11.2 x86_64; Gnome 2.28; Laptop Asus S96S: Intel T8300 2.40GHz; nVidia 8600m GS (256MB); 4GB RAM;

Save the buildpower. Use aggregation.
Reply With Quote
  #2 (permalink)  
Old 08-Sep-2009, 18:45
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,701
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: %post and internet connection

Quote:
Originally Posted by etamPL
I wanted to create a package with a post script, that will download a
program from internet and install it. (I want to do this, because
license doesn't allow redistribution)

I wrote a script, but when building package it cannot connect with
internet.

Is it a bug in OBS or should I do it in some other way?
Hi
Grab the src rpms for pullin-msttf-fonts and fetchmsttfonts to see how
it's done

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 1 day 1:55, 2 users, load average: 0.03, 0.07, 0.07
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #3 (permalink)  
Old 09-Sep-2009, 13:50
etamPL's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Location: Warsaw, Poland
Posts: 41
etamPL hasn't been rated much yet
Default Re: %post and internet connection

Yay!
It was a bit hard, but I've done it.

There it is: automatic hamachi installer
https://build.opensuse.org/package/s...=home%3AetamPL
__________________
OpenSuSE 11.2 x86_64; Gnome 2.28; Laptop Asus S96S: Intel T8300 2.40GHz; nVidia 8600m GS (256MB); 4GB RAM;

Save the buildpower. Use aggregation.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2