Commit graph

128 commits

Author SHA1 Message Date
Filippo Squillace
7b2dee540f 🐛 Fix location of the check script during image build 2017-04-19 22:35:03 +01:00
Filippo Squillace
03a29590de Add -i and -r options for groot command 2017-04-19 21:04:51 +01:00
Filippo Squillace
0060658726 Issue #174: Add util-linux in JuNest image
util-linux contains `unshare` which is needed for the namespace mode.
2017-04-12 20:43:35 +01:00
Filippo Squillace
b817aa8445 Issue #174: Add -g option for Groot and integ tests for user namespace 2017-04-12 20:43:30 +01:00
Filippo Squillace
fcb4a36f30 Issue #174: Add option -n in groot and umount directories in order 2017-04-12 20:43:21 +01:00
Filippo Squillace
8e5531a27a Issue #174: Add unit test for namespace 2017-04-12 20:43:12 +01:00
Filippo Squillace
0f7fd33c53 Issue #174: Add new program GRoot and change version option for JuNest!
This replaces jchroot because GRoot can be also used in a user namespace environment.
2017-04-12 20:42:56 +01:00
Filippo Squillace
426b708d2d Issue #174: Rename common functions and define skeleton for namespace functions 2017-04-12 20:42:35 +01:00
Filippo Squillace
0ec35a4088 Issue #174: Add namespace module and check for user namespace 2017-04-12 20:42:10 +01:00
Filippo Squillace
72640b3ca3 Create the proper S3 bucket for JuNest 2017-03-18 14:53:48 +00:00
Filippo Squillace
adcfe7c8dc Move to S3 service for hosting the JuNest images
Dropbox Public folder became private:
https://www.dropbox.com/help/16
2017-03-16 19:40:54 +00:00
Filippo Squillace
ddc7ede70a Issue #174: 🎨 Change structure of core modules
This change separate different parts of the code into several categories:
`chroot`, `proot`, `build`, `common`, `setup`. This should simplify the
maintenance of the code and will help introducing the user namespace module
in a easier way.
2017-03-13 21:06:18 +00:00
Filippo Squillace
d07b06b39d Substitute bindings with explicit copy of files 2017-03-11 10:17:55 +00:00
Filippo Squillace
6568430add Mitigate user missing from getent enumeration
Sometimes `getent passwd` does not give the user information.
This change tries to at least get the current user via
`getent passwd $USER` since it uses
a more reliable and faster system call (getpwnam(3)).

Reference:
be748493a3
2016-11-27 12:49:09 +00:00
Filippo Squillace
56a5f48b32 Use the new junest-git package 2016-06-09 21:14:35 +01:00
fsquillace
846bcc9c1f Issue #81: Use getent to build the passwd and group files 2016-06-07 22:24:28 +01:00
fsquillace
1f66d810cd Remove check for mtab file and lock directory 2016-05-30 23:01:28 +01:00
fsquillace
3102ff1d8a 🎨 Refactor core.sh code 2016-05-30 23:01:28 +01:00
fsquillace
ce3fefeab5 Issue #141: 🎨 Refactor code 2016-05-30 23:01:26 +01:00
Filippo Squillace
ea3af255cf Issue #138: pkgfile documentation 2016-02-26 23:21:52 +00:00
Filippo Squillace
d36093b0f5 Change the name of proot variable 2016-01-30 12:14:44 +00:00
builder
36212d3cbf Issue #127: Do not let proot mount the mtab file
This change prevents inconsistency problems when the JuNest environment
is run simultaneously in fakeroot and normal user. The mtab file is
never mount by proot but, instead, it is symlinked to /proc/self/mounts.
2015-12-26 12:55:19 +00:00
Filippo Squillace
c6bb53e2cc Issue #128: Fix the /etc/locale.conf file 2015-12-01 19:52:11 +00:00
Filippo Squillace
5502966276 Update the version to 5.6.7 (Nitida) 2015-10-24 16:40:28 +00:00
Filippo Squillace
dbc6f7ad12 Issue #116: Kill gpg-agent during build of image
Use jchroot instead of arch-chroot since it is more reliable on
all architectures.
2015-10-18 17:20:59 +00:00
Filippo Squillace
1aa7a3ddbd Issue #114: Add umask on build image script 2015-10-16 09:28:10 +00:00
Filippo Squillace
2cfb81daaa Issue #113: Fix fallback for proot command 2015-10-14 23:39:36 +00:00
Filippo Squillace
cfa512755f Update contacts in docs 2015-08-29 18:30:59 +00:00
Filippo Squillace
6365d52f50 Issue #104: Use junest-git package in the image 2015-08-08 09:57:23 +00:00
Filippo Squillace
e0a9ee3b26 Change URLs for the AUR repository system 2015-08-07 12:48:08 +00:00
Filippo Squillace
6b357245c3 Issue #94: Add tests for arch option 2015-07-18 17:16:38 +00:00
Filippo Squillace
7f3919700a Issue #96: Add the check option 2015-07-17 22:32:07 +00:00
Filippo Squillace
e2b14e9bff Issue #93: Improve help and add test for proot access 2015-07-05 14:20:07 +00:00
Filippo Squillace
438eeafb63 Issue #93: Add test for chroot 2015-07-05 11:46:35 +00:00
Filippo Squillace
b7ad845771 Issue #93: Add JuNest metadata 2015-07-04 23:46:27 +00:00
Filippo Squillace
d27f790562 Issue #95: Document the uname executable 2015-06-29 21:56:47 +00:00
Filippo Squillace
0cf7c624ec Issue #91: Add the architecture option 2015-06-29 19:57:07 +00:00
Filippo Squillace
8475d8eb41 Fix the build of x86 image 2015-06-29 15:04:31 +00:00
Filippo Squillace
45814d65a5 Refactor the chroot script 2015-06-28 13:08:48 +00:00
Filippo Squillace
98a1ef5bf0 Issue #88: Copy qemu static and all proot compat binaries 2015-06-24 18:34:10 +00:00
Filippo Squillace
2cae586c34 Use SUDO_USER instead of SUDO_UID 2015-06-24 18:33:02 +00:00
Filippo Squillace
e3a0726a19 Remove binutils from the image 2015-06-23 22:45:15 +00:00
Filippo Squillace
21f3b6ebda Issue #89: Remove id executable 2015-06-23 22:45:15 +00:00
Filippo Squillace
a5346f8154 Issue #89: Remove the _run_proot function 2015-06-23 22:45:14 +00:00
Filippo Squillace
5e19ac138e Issue #89: Adjust the tests 2015-06-23 22:45:05 +00:00
Filippo Squillace
8425b09fce Issue #89: Remove the true executable 2015-06-23 07:56:49 +00:00
Filippo Squillace
be3f771cee Issue #74: Update doc and remove arch-install-scripts from JuNest image 2015-06-22 22:01:56 +00:00
Filippo Squillace
f15dc54b38 Issue #74: Apply chroot_cmd function 2015-06-22 21:21:30 +00:00
Filippo Squillace
e4b6bbb974 Issue #74: Substitute arch-chroot to jchroot 2015-06-22 21:21:24 +00:00
Filippo Squillace
6994a6b2e6 Issue #79: Apply the new executables 2015-06-20 14:49:51 +00:00