Skip to content

Commit

Permalink
build scripts comments, minor touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian K. White committed Mar 11, 2019
1 parent 257127a commit 466dd2e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
15 changes: 10 additions & 5 deletions build-deb.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/bin/bash

backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
# Generates .deb packages
# Requires (at least):
# apt install ubuntu-dev-tools # install pbuilder-dist
# pbuilder-dist cosmic i386 create # create a build environment
# pbuilder-disp cosmic amd64 create # create a build environment

backup=${PWD}
DIR=${0%*/}
cd $DIR

. ./BUILD_CONFIG
Expand Down Expand Up @@ -37,8 +42,8 @@ echo "--------------------------------------------------------------------------

}

build_deb_for_dist xenial i386
build_deb_for_dist xenial amd64
build_deb_for_dist cosmic i386
build_deb_for_dist cosmic amd64
#build_deb_for_dist stretch armel
#build_deb_for_dist stretch armhf

Expand Down
10 changes: 8 additions & 2 deletions build-installers.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/bash
# Generates *.run installers
# Requires (at least):
# Run build-deb.sh first
# "sanity" from https://github.com/teejee2008/sanity-installer

backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
backup=${PWD}
DIR=${0%/*}
cd $DIR

. ./BUILD_CONFIG
Expand Down Expand Up @@ -33,6 +37,8 @@ echo "--------------------------------------------------------------------------

rm -rfv release/${arch}/${pkg_name}*.* # remove source files created by pbuilder
cp -pv --no-preserve=ownership release/sanity.config release/${arch}/sanity.config

# "sanity" command comes from https://github.com/teejee2008/sanity-installer
sanity --generate --base-path release/${arch} --out-path release --arch ${arch} --xz

if [ $? -ne 0 ]; then cd "$backup"; echo "Failed"; exit 1; fi
Expand Down
4 changes: 2 additions & 2 deletions build-source.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
backup=${PWD}
DIR=${0%/*}
cd "$DIR"

. ./BUILD_CONFIG
Expand Down
2 changes: 1 addition & 1 deletion ukuu.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ukuu 18.9\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-03-11 00:10-0400\n"
"POT-Creation-Date: 2019-03-11 00:24-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down

0 comments on commit 466dd2e

Please sign in to comment.