Each package referenced in builder.bash can be built individually using the following steps:
Install git-buildpackage
, it is required for building all packages.
apt-get install git-buildpackage
Add the following configuration to ~/.devscripts
.
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc -i"
Add the following configuration to ~/.gbp.conf
.
[DEFAULT]
cleaner = fakeroot debian/rules clean
ignore-new = True
force-create = True
[buildpackage]
export-dir = /gbp-build-area/
[git-import-orig]
dch = False
- nvml
- tm-librarian
- tm-manifesting
- l4fame-node
- l4fame-manager
- tm-hello-world
- tm-libfuse
- libfam-atomic
- fame
- linux-kernel
Packages
libpmem_[version].deb
libpmem-dev_[version].deb
Build Requirements
apt-get install uuid-dev
Build Process
- Clone this repository.
- Checkout
upstream
, then checkoutdebian
. - Build with
gbp buildpackage --git-upstream-tree=branch --git-upstream-branch=debian
Note If the build fails with the following error,
gbp:error: 'debuild -i -I' failed: it exited with 29
It is because one of the sub-folders in ../build-area/
is misnamed. To fix this error, run the following to build with a new rules
file.
read -r -d '' rule<<"EOF"
#!/usr/bin/make -f
%:
\tdh \$@
override_dh_auto_install:
\tdh_auto_install -- prefix=/usr
override_dh_install:
\tmkdir -p debian/tmp/usr/share/nvml/
\tcp utils/nvml.magic debian/tmp/usr/share/nvml/
\t-mv debian/tmp/usr/lib64 debian/tmp/usr/lib
\tdh_install
override_dh_auto_test:
\techo "We do not test this code yet."
override_dh_clean:
\tfind src/ -name 'config.status' -delete
\tfind src/ -name 'config.log' -delete
\tdh_clean
EOF
echo -e "$rule" > /tmp/rules
chmod +x /tmp/rules
gbp buildpackage --git-prebuild='mv /tmp/rules debian/rules' --git-upstream-tree=branch --git-upstream-branch=debian
Packages
tm-librarian_[version].deb
python3-tm-librarian_[version].deb
tm-lfs_[version].deb
tm-utils_[version].deb
tm-lmp_[version].deb
Build Requirements
apt-get install dh-exec
Build Process
- Clone this repository.
- Checkout
upstream
, then checkoutdebian
. - Build with
gbp buildpackage
Packages
tm-manifesting_[version].deb
Build Requirements
apt-get install dh-exec
Build Process
- Clone this repository.
- Build with
gbp buildpackage --git-upstream-branch=master --git-upstream-tree=branch --git-cleaner=/bin/true
Packages
l4fame-node_[version].deb
Build Requirements
# no package requirements
Build Process
- Clone this repository.
- Build with
gbp buildpackage
Packages
l4fame-manager_[version].deb
Build Requirements
# no package requirements
Build Process
- Clone this repository.
- Build with
gbp buildpackage
Packages
tm-hello-world_[version].deb
Build Requirements
# no package requirements
Build Process
- Clone this repository.
- Checkout
debian
. - Build with
gbp buildpackage --git-upstream-tree=branch --git-upstream-branch=debian
Packages
tm-libfuse_[version].deb
Build Requirements
apt-get install libselinux-dev
Build Process
- Clone this repository.
- Checkout
upstream
, then checkoutdebian
. - Build with
gbp buildpackage
Packages
libfam-atomic2_[version].deb
libfam-atomic2-dev_[version].deb
libfam-atomic2-dbg_[version].deb
libfam-atomic2-tests_[version].deb
Build Requirements
apt-get install pkg-config autoconf-archive asciidoc libxml2-utils xsltproc docbook-xsl docbook-xml
Build Process
- Clone this repository.
- Checkout
upstream
, then checkoutdebian
. - Build with
gbp buildpackage --git-upstream-tree=branch
Packages
fame_[version].deb
Build Requirements
# no package requirements
Build Process
- Clone this repository.
- Checkout
debian
. - Build with
gbp buildpackage --git-upstream-branch=master
Packages
linux-firmware-image-4.8.0-l4fame+_[version].deb
linux-headers-4.8.0-l4fame+_[version].deb
linux-libc-dev_[version].deb
linux-image-4.8.0-l4fame+_[version].deb
linux-image-4.8.0-l4fame+-dbg_[version].deb
Build Requirements
apt-get install build-essential bc libssl-dev
Build Process
- Clone this repository.
- Build with
make deb-pkg