Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foxx@dev1 ~ $ sudo debootstrap wheezy wheezy http://ftp.uk.debian.org/debian/
- foxx@dev1 ~ $ sudo mount -t proc proc wheezy/proc/
- foxx@dev1 ~ $ sudo mount -t sysfs sys wheezy/sys
- foxx@dev1 ~ $ sudo mount -o bind /dev wheezy/dev
- foxx@dev1 ~ $ sudo chroot wheezy/
- # lol for some reason devscripts insisted on installing exim4.. wtf? lol.
- root@dev1:~# apt-get install git build-essential g++ cpp make automake flex bison locales-all devscripts
- root@dev1:~# git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
- root@dev1:~/freeswitch# DISTRO=`lsb_release -cs`
- root@dev1:~/freeswitch# DCH_DISTRO=stable
- root@dev1:~/freeswitch# FS_VERSION="$(cat build/next-release.txt | sed -e 's/-/~/g')~n$(date +%Y%m%dT%H%M%SZ)-1~${DISTRO}+1"
- root@dev1:~/freeswitch# echo $FS_VERSION
- 1.2.11~n20130626T195851Z-1~+1
- root@dev1:~/freeswitch# echo $DISTRO
- wheezy
- root@dev1:~/freeswitch# build/set-fs-version.sh $FS_VERSION
- root@dev1:~/freeswitch# dch -b -m -v "$FS_VERSION" --force-distribution -D "$DCH_DISTRO" "Custom build."
- root@dev1:~/freeswitch# (cd debian; ./bootstrap.sh -c ${DISTRO})
- Bootstrapping debian/ for wheezy
- --- snip ---
- Done bootstrapping debian/
- root@dev1:~/freeswitch# mk-build-deps -i debian/control
- root@dev1:~/freeswitch# dpkg-buildpackage -b -uc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement