You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
343 B
Bash
18 lines
343 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
## enter the source-unpacked location
|
|
cd build/linux-*
|
|
|
|
## will fail here if no patches are available
|
|
for MYP in $(ls ../../patches); do
|
|
patch -p1 < ../../patches/$MYP
|
|
done
|
|
|
|
fakeroot debian/rules clean
|
|
|
|
DEB_BUILD_OPTIONS=parallel=4 AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-generic
|
|
|
|
mv ../*.deb $HOME/packages/
|