2016-02-17, 17:41
I follow the instruction above, when it PROFILE=pi2 ./autobuild.sh
Return me this error
http://pastebin.com/DHVf5STG
Return me this error
http://pastebin.com/DHVf5STG
(2015-08-29, 16:53)Milhouse Wrote:(2015-08-29, 15:14)stevegal Wrote: I've just got the scripts from inside one of your builds. Is that the definitive place for them? or are they on github?
In addition to the scripts being included inside each build (a form of version control), they're also uploaded to www.nmacleod.com/public/oebuild/oebuild.tar.gz whenever there is a bug fix or configuration change, and you could consider this latter archive to always be the "latest" version.
(2015-08-29, 15:14)stevegal Wrote: If I try and the scripts straight from your build tarball I get the following
stephen@stephen-VirtualBox:~/development/milhouse.0827$ PROFILE=pi2 ./autobuild.sh
Loading profile: pi2 (./autobuild.sh)
/home/stephen/development/milhouse.0827/functions: line 356: ./config/options: No such file or directory
thats why I though I needed to do the OpenELEC.tv repo clone. With that in place it progresses. So I'm definitely missing a step somewhere!
Sorry for being a pain, and thanks again for being so good!
You definitely need to clone the OpenELEC.tv repository, I'm just saying that once the repo has been cloned you don't need to make any further manual changes to it - any changes to the repo will be made by my scripts as they're designed to handle that side of things (switch branches, pull updates etc.).
I've noticed there is a small error in the tar file included in each build - the symlinks in the "packages" folder are not valid, and this will be corrected in the next release.
I'd recommend the following approach to setting up the environment when building with my scripts:
Code:#Ubuntu 15.04 lacks the following dependencies, so add them:
sudo apt-get install curl gawk gperf xsltproc openjdk-8-jre-headless libncurses5-dev texinfo ccache u-boot-tools python3
#Milhouse scripts have following dependencies:
sudo apt-get install pv pxz pigz pastebinit interdiff
# Create a working directory ("projects"), clone the LibreELEC repo and install scripts to automate the build
mkdir ~/projects
cd ~/projects
git clone git://github.com/LibreELEC/LibreELEC.tv.git
wget -q www.nmacleod.com/public/oebuild/oebuild.tar.gz -O - | tar xzf -
mv build.conf.sample build.conf
Once you've completed the above, the following should be sufficient to start a successful RPi2 master build:
(Use PROFILE=x86 to build Generic)Code:PROFILE=pi2 ./autobuild.sh
Also read the file README.1ST file which is included in oebuild.tar.gz (and will be included inside future tar releases). Other files you should read: profiles.README and README.
If you want to update your installed copy of the scripts (ie. pulling latest bug fixes etc.), then repeat the above wget statement although note this will overwrite control files such as ipatches.dat, oepull.dat and profiles.dat so if you're modifying those files you'll need to back them up and then restore them to avoid losing your own changes.
=master forwardPatch http://nmacleod.com/public/oebuild/patches/00_legacy_hardware.txt
PROFILE=x86 ./autobuild.sh
=master -PR10177
(2016-08-01, 08:55)Milhouse Wrote: Add the following line to the end of the lepull.dat file:
Code:=master forwardPatch http://nmacleod.com/public/oebuild/patches/00_legacy_hardware.txt
The patch 00_legacy_hardware.txt will enable your SIL680 driver and downgrade the nvidia-legacy driver to 304.131.
Then restart the build:
Code:PROFILE=x86 ./autobuild.sh
However note that inputstream.mpd is currently failing to build, so I would advise you to wait until there's an update here, or add the following to the end of ipatches.dat:
(Once there is an update on the inputstream.mpd repository remember to remove the above line from ipatches.dat).Code:=master -PR10177
(2016-08-01, 16:39)madhits Wrote: THANK YOU THANK YOU MILHOUSE! This FINALLY seems like something I can actually get done.
Ok so PR10177 is an older build right? Or is PR10177 a workaround/previous patch?
(2016-08-01, 22:41)Milhouse Wrote:(2016-08-01, 16:39)madhits Wrote: THANK YOU THANK YOU MILHOUSE! This FINALLY seems like something I can actually get done.
Ok so PR10177 is an older build right? Or is PR10177 a workaround/previous patch?
PR10177 is a patch that caused the build to break. The breakage is resolved so you don't need it any longer - remove the line with PR10177.
(2016-08-01, 23:44)madhits Wrote: Where you say add the following line to the lepull.dat file. I get =master command not found. Is this supposed to be added to the wget command above? Please clarify.
(2016-08-01, 23:44)madhits Wrote: I did run into 1 other problem so far.. unable to locate package interdiff. I will try carry on and see if this all works.
(2016-08-01, 23:44)madhits Wrote: UPDATE =master needs PROJECTS=master and a space is required between forward "&" Patch, IS THAT CORRECT?
NOW I am getting forward: fatal: Newsender not set. After running PROJECTS=master forward Patch http://nmacleod.com/public/oebuild/patch...rdware.txt
I'm doing this through SSH if that matters. Stuck at the newsender not set and have not been able to google my way out of this one.
(2016-08-02, 01:04)madhits Wrote: When I get through the batch script I see a lot of reversed (or previously applied) patch detected! Skipping patch. Assuming that is ok?
(2016-08-02, 01:04)madhits Wrote: At the end I get PATCH FAILED TO APPLY (https://github.com/LibreELEC/LIbreELEC.tv/pull/592)
Reloading profile: x86 (/home/xbmc/projects/autobuild.sh
get error (LibreELEC.tv)
Assuming I need to edit the batch script lepull.dat again to point at the downloaded projects directory? Is that all?
cd ~/projects
wget -q www.nmacleod.com/public/oebuild/oebuild.tar.gz -O - | tar xzf -
echo "=master forwardPatch http://nmacleod.com/public/oebuild/patches/00_legacy_hardware.txt" >> ./lepull.dat