Commit 195d2306 authored by root's avatar root

added golded patches for raspbian, minor fixes for patch application in build script

parent a7937301
......@@ -44,7 +44,7 @@ lsb=$( lsb_release -a 2>&1 )
if [ ! -z "$2" ]
then
os="$2"
elif [ $( echo "$lsb" |grep 'Distributor ID'| grep -c 'Rasbian' ) -gt 0 ]
elif [ $( echo "$lsb" |grep 'Distributor ID'| grep -c 'Raspbian' ) -gt 0 ]
then
os="raspbian"
elif [ $( echo "$lsb" |grep 'Distributor ID'| grep -c 'Debian' ) -gt 0 ]
......@@ -86,7 +86,7 @@ printtitle "Moving and renaming original sources" "-"
cd origs
mv "../golded-plus/golded+" "./goldedplus_1.1.5"
printtitle "Applying 1st patch" "-"
patch -p0 <"../patches/${os}/goldedplus_1.1.5-2+nmu1~stretch1.patch1"
patch -p0 <../patches/${os}/goldedplus_1.1.5-*${osversion}*.patch1
printtitle "Building .orig.tar.gz files" "-"
tar -czf "goldedplus_1.1.5.orig.tar.gz" "goldedplus_1.1.5/"
cd ..
......@@ -104,7 +104,7 @@ printtitle "Extracting original source packages" "-"
tar -zxf goldedplus*.orig.tar.gz
printtitle "Applying second patch" "-"
patch -p0 <"../patches/${os}/goldedplus_1.1.5-2+nmu1~stretch1.patch2"
patch -p0 <../patches/${os}/goldedplus_1.1.5-*${osversion}*.patch2
printtitle "Building package" "-"
cd "goldedplus_1.1.5"
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment