Creating nsjail RPM specification and build patch based on upstream-git branch
authorKunhoon Baik <knhoon.baik@samsung.com>
Mon, 12 Jul 2021 09:07:35 +0000 (18:07 +0900)
committerKunhoon Baik <knhoon.baik@samsung.com>
Mon, 12 Jul 2021 09:22:31 +0000 (18:22 +0900)
commit84bcf292ca3a603ca65cef4953a39ee58b2b33c1
tree333627f66d8b002dad07604e430ae27e3a464594
parent62879de5de61c1e1152c975ced29e3c9af7318e6
Creating nsjail RPM specification and build patch based on upstream-git branch

Upstream git was created with "nsjail 2021-07-07 version"
For Tizen RPM, additional patches were created based on the open source version

1) Linking to upstream-git branch - .gbs.conf
   : You can check the Tizen open source updating guide at https://wiki.tizen.org/Updating_packages

2) Creating kafel.tar.gz
   : Unfortunately, Tizen does not provide git tool at build time. (git-core package is required)
   : Thus, instead of using git submodule command, create kafel.tar.gz from the git submodule.
   : For your information, following patch is added for the kafel for fixing build error (TODO)

+// Fix for Linux <3.12
+#ifndef EM_ARM
+#define EM_ARM 40
+#endif
+

3) NSJail requires 3.2.24 over libnl3 vesion.
   Unfortunately, current Tizen libnl3 version 3.2.22. (TODO)
.gbs.conf [new file with mode: 0644]
Makefile
kafel.tar.gz [new file with mode: 0644]
packaging/nsjail.spec [new file with mode: 0644]