[HOW TO] Virtual PC using yBuild - UkCvs.org
 

Go Back   UkCvs.org > Digital Tv Box Section > Dbox Section > Dbox Tuts

Dbox Tuts If your Stuck Unregistered TRY here first!

Reply
 
LinkBack Thread Tools Display Modes
Old 30-12-2008, 10:36 AM   #1 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 349
iTrader: (0)
Casino cash: $146080
Thanks: 104
Thanked 378 Times in 170 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default [HOW TO] Image Creating using a Virtual PC with yBuild

Yjogol has released Version 3.0 of his new tool called yBuild




Basically this Tool should enable even a Non Linux User to build his own Images without any extra knowledge etc.

Without going in to much details I did the following on my Windows XP SP3 Machine:

Downloaded Sun xVM VirtualBox from -->here<--

I then followed -->these<-- Instructions to install a downloaded Ubuntu 8.10 -->ISO<--

Once the machine is up and running and you have selected a username (my example pt-1) go ahead and create a directory in a terminal window

(HINT: right CTRL always comes out of the Virtual PC Session):




Quote:
mkdir tuxbox
cd tuxbox
Then do the following:

Quote:
chmod 755 ybuild_bootstrap.sh
Then start the process:

Quote:
./ybuild_bootstrap.sh
The Script will start with dowloading the CVS Sources and create the needed directorys (ybuild).

After this the Menu will automatically appear:

( HINT: in order to start the menu again after you have left it please change into the cd /home/pt-1/tuxbox/ybuild directory and start ybuild via ./ybstart.sh )




e is the Options for the language selection
l is the actual selection. Highlight english and press enter (this seems to not work at present and has been reported to yJogol)

After this configure the working Directory:





Select the d (Konfiguration & Entwicklungsumgebung)

Select the 0 for Basiskonfiguration

Change the 0 with the Woking Directory

Example: /home/pt-1/tuxbox

After this select z for back (Zurueck) and then z for back again

Then start the Checkout Process in the menu:






After this the Program waits for you to hit ENTER

I WILL KEEP UPDATING THIS POST DURING DAY/WEEK
PLEASE FEEL FREE TO COMMENT

UPDATE 08.01.2008 Customizing scripts

You have the ability with Newmake to include your own scripts that either add or remove files from/to an Image whilst building it.

Yjogol added a few examples and as you cannot do a wget from his page I have added them to my web space.

neutrino-jffs2.img2x-local.sh
  • rename your image with the actual date

root-local.sh
  • build non GUI relevant tools

root-neutrino-jffs2-local.sh
  • will be executed before libary reduction

root-neutrino-local.sh
  • copy our own files
  • include my-customizing.inc if exists
  • remove not needed files (e.g. languages)
  • include my-delete-files.inc if exists

yadd-neutrino-local.sh
  • will be executed at the end

yadd-none-local.sh
  • GUI independent parts of yadd

You can get them via:
Code:
wget http://www.pt-1.net/yweb/locals-dist/neutrino-jffs2.img2x-local.sh
Code:
wget http://www.pt-1.net/yweb/locals-dist/root-local.sh
Code:
wget http://www.pt-1.net/yweb/locals-dist/root-neutrino-jffs2-local.sh
Code:
wget http://www.pt-1.net/yweb/locals-dist/root-neutrino-local.sh
Code:
wget http://www.pt-1.net/yweb/locals-dist/yadd-neutrino-local.sh
Code:
wget http://www.pt-1.net/yweb/locals-dist/yadd-none-local.sh

Last edited by pt-1; 08-01-2009 at 09:38 AM..
pt-1 is offline   Reply With Quote
The Following 11 Users Say Thank You to pt-1 For This Useful Post:
bobsylas (30-12-2008), daviejam (30-12-2008), Derekwd (30-12-2008), dr8gonk (22-08-2009), ManofScience (08-01-2009), myksterx (30-12-2008), nj2006 (30-12-2008), PaphosAL (30-12-2008), turner123 (30-12-2008), UnitedPirate (01-01-2009), wiz569 (30-12-2008)
Old 31-12-2008, 01:00 PM   #2 (permalink)
Moderator
UkCvs Senior Member
 
wiz569's Avatar
 
Join Date: Sep 2008

Location: Ireland
Age: 47
Posts: 474
iTrader: (0)
Casino cash: $183175
Thanks: 1,152
Thanked 272 Times in 173 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 5
Groaned at 0 Times in 0 Posts
Default
Used this last night to do a basic build,went very well I must say,
English translation seems to be working fine now too.
The menu didn't appear after downloading the cvs sources and making the directorys but just manually started as explained above.
Now to start playing with the different options

One question though when trying to use the patchs option its looking for patches text file,maybe i am wrong but doesn't patches=diffs and if so how do you get from a diff file to a txt file,of course I could be completly wrong lol.
__________________
All information given is for educational purposes only.It is an offence to use this information for the purpose of obtaining free PayTV and we do not condone the theft of PayTV services.
wiz569 is offline   Reply With Quote
Old 31-12-2008, 04:24 PM   #3 (permalink)
Developer
UkCvs Senior Member
 
Speedy2206's Avatar
 
Join Date: Nov 2008
1 Highscore

Location: Leatherhead
Posts: 188
iTrader: (0)
Casino cash: $64049
Thanks: 80
Thanked 257 Times in 112 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
I think patches.txt is just a text line with a list of diffs in order.

For example:

Code:
ukcvs-base.diff
my_patch.diff
somethingelse.diff

... I think!!! Dont quote me on that.
Speedy2206 is offline   Reply With Quote
The Following User Says Thank You to Speedy2206 For This Useful Post:
wiz569 (31-12-2008)
Old 31-12-2008, 04:32 PM   #4 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 349
iTrader: (0)
Casino cash: $146080
Thanks: 104
Thanked 378 Times in 170 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Also according to yJogol after the initial setup rund ./ybstart.sh from hostapps/ybuild

I will update the guide above incl. english screenshots once I get NYE over an done with... Not that we Germans like Fireworks (Rockets etc ;-) )
pt-1 is offline   Reply With Quote
The Following User Says Thank You to pt-1 For This Useful Post:
wiz569 (31-12-2008)
Old 03-01-2009, 06:34 PM   #5 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Dec 2008

Posts: 7
iTrader: (0)
Casino cash: $8100
Thanks: 4
Thanked 1 Time in 1 Post
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
I am very new with all this and ran into a problem very early on in that upon running the script I was receiving and error.

Effectively the error related to 'cvs: command not found'.

To correct this I ran the following: sudo apt-get install cvs

I hope this helps anyone who comes across this as I did...
daviejam is offline   Reply With Quote
Old 06-01-2009, 01:06 PM   #6 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 349
iTrader: (0)
Casino cash: $146080
Thanks: 104
Thanked 378 Times in 170 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Updated today 06.01.2009

Reason:
  • Added link for downloading ybuild_bootstrap.sh
  • Rhabarber & Seife added multiple Fixes to the CVS in order to compile on Ubuntu 8.10
pt-1 is offline   Reply With Quote
The Following User Says Thank You to pt-1 For This Useful Post:
wiz569 (06-01-2009)
Old 07-01-2009, 05:46 PM   #7 (permalink)
Senior Member
UkCvs Senior Member
 
ManofScience's Avatar
 
Join Date: Sep 2008

Posts: 178
iTrader: (0)
Casino cash: $59255
Thanks: 30
Thanked 76 Times in 55 Posts
Nominated 4 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
at what point do you run this? sounds like it could solve a loads of my problems!
ManofScience is offline   Reply With Quote
Old 07-01-2009, 05:55 PM   #8 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 349
iTrader: (0)
Casino cash: $146080
Thanks: 104
Thanked 378 Times in 170 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default
This is all you need, it will do everything for you
pt-1 is offline   Reply With Quote
Old 07-01-2009, 06:01 PM   #9 (permalink)
Moderator
UkCvs Senior Member
 
pt-1's Avatar
 
Join Date: Sep 2008

Posts: 349
iTrader: (0)
Casino cash: $146080
Thanks: 104
Thanked 378 Times in 170 Posts
Nominated 10 Times in 3 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Post updated as for some reason most of it was missing
pt-1 is offline   Reply With Quote
Old 07-01-2009, 06:28 PM   #10 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 2,975
iTrader: (0)
Casino cash: $813060
Thanks: 2,495
Thanked 1,531 Times in 836 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Quote:
Originally Posted by pt-1 View Post
... Not that we Germans like Fireworks (Rockets etc ;-) )
If you have a spare V2 kicking around, pt-1, I'll buy it off you. It's only 32 miles from here to the Houses of Parliament, so it won't need a lot of liquid oxygen. You must guarantee that the 2 tonne HE warhead is in full working order, though, and won't go Kein System on me...

PaphosAL is online now   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


All times are GMT. The time now is 09:17 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk !! Ukcvs.org cannot be held responsible for the content of any post on this forum.