Skip to content

Commit

Permalink
add package lupin-support (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakuna-m committed Oct 26, 2016
1 parent 84f5c37 commit d15c742
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ tools/buildtest
*.pyc
*.pyo
.key
data/custom-installation/packages
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ distclean: clean
find . -type f -name "*.pyo" -delete
find . -type f -name "*.pyc" -delete
rm -rf .key
rm -rf data/custom-installation/packages

.PHONY: all build test wubi wubizip wubi-pre-build pot runpy runbin check_wine check_winboot unittest
7z translations version.py pylauncher winboot grubutil grub4dos
5 changes: 5 additions & 0 deletions data/custom-installation/hooks/post-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ if [ -f /custom-installation/patch/grub-install ] && [ -f /custom-installation/p
fi
fi

arch=$(dpkg --print-architecture)
if [ ! -f /etc/grub.d/10_lupin ] && [ -f /custom-installation/packages/lupin-support/*$arch.deb ] ; then
mkdir -p /var/cache/driver-updates
cp /custom-installation/packages/lupin-support/*$arch.deb /var/cache/driver-updates/.
fi
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
wubi (16.10r316) yakkety; urgency=low

[Hakuna Matata]

* add missing package lupin-support
https://github.com/hakuna-m/wubiuefi/issues/24

wubi (16.10r315) yakkety; urgency=low

[Hakuna Matata]
Expand Down
12 changes: 8 additions & 4 deletions tools/check_winboot
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ if [ ! -e .key ];then
-out .key/$(whoami)_wubi.crt -nodes -days 3650 -subj "/CN="$(whoami)" Wubi/"
openssl x509 -in .key/$(whoami)_wubi.crt -out .key/$(whoami)_wubi.cer -outform DER
fi




if [ ! -e data/custom-installation/packages/lupin-support ]; then
echo "Downloading lupin-support packages"
mkdir -p data/custom-installation/packages/lupin-support
cd data/custom-installation/packages/lupin-support
apt-get download lupin-support:i386 #TBD do not assume apt
apt-get download lupin-support:amd64 #TBD do not assume apt
cd ../../../..
fi

0 comments on commit d15c742

Please sign in to comment.