Commit graph

515 commits

Author SHA1 Message Date
Kron4ek
358acd8aca Add glibc libs and fuse3 support
The integrated utils now include two squashfuse binaries: the one is for fuse2 and the second is for fuse3.
Conty will automatically use the fuse3 version if fuse3 is installed, otherwise it will use the fuse2 version.

Besides, glibc libs are now included and they are used for the integrated utils.
Which means that the integrated utils now don't depend on system-wide glibc and will work even on really old distros (like Ubuntu 12.04, for example), assuming that kernel version is new enough, of course.
2021-06-09 23:46:31 +05:00
Kron4ek
ceca3a65ad
A note on kernel version requirements
For now at least 4.4 is required.
2021-06-09 20:33:07 +05:00
Kron4ek
3f7b76f6f4
Update README.md 2021-06-09 04:04:20 +05:00
Kron4ek
12a7d4bcd7
Update README.md 2021-06-08 23:20:23 +05:00
Kron4ek
1e990279ad
Update README.md 2021-06-08 22:21:41 +05:00
Kron4ek
a8017085bd
Update README.md 2021-06-08 22:07:16 +05:00
Kron4ek
55ecd8016e
Improvements for the self-update function 2021-06-08 21:45:57 +05:00
Kron4ek
d9238913e0
Fix exec checking 2021-06-08 19:57:30 +05:00
Kron4ek
5eb93c9127
Check if /tmp is mounted with noexec
If /tmp is mounted with noexec, use ~/.local/share/Conty as a working directory. And if HOME is also mounted with noexec, then show an error and exit.
2021-06-08 19:13:49 +05:00
Kron4ek
0751d00bab
Update README.md 2021-06-04 22:05:27 +05:00
Kron4ek
e8dd6dd55b
Update Chaotic-AUR url
cdn-mirror.chaotic.cx is broken for now.
2021-06-04 19:31:56 +05:00
Kron4ek
b88de42bc4
Fix the self-update function
Hopefully for sure this time.
2021-06-01 22:24:10 +05:00
Kron4ek
ed2fc50297
Update create-arch-bootstrap.sh 2021-05-28 16:36:11 +05:00
Kron4ek
cbc9cc4f87
Fix unmounting chroot directories
Hopefully for sure this time.
2021-05-28 16:29:17 +05:00
Kron4ek
7af5ceba68
Merge chaotic_packagelist with packagelist 2021-05-28 16:15:56 +05:00
Kron4ek
3e5f47f298
Properly mount and unmount directories for chroot 2021-05-28 15:14:00 +05:00
Kron4ek
334dffaa6c
Bind /etc/localtime
The timezone for applications running using Conty will be the same as on the host system.
2021-05-28 14:42:43 +05:00
Kron4ek
8fc39a132a
Update conty-start.sh
Bind $HOME to $HOME. This is useful in case if HOME is not /home/username.
2021-05-28 14:33:48 +05:00
Kron4ek
cca87e7349
Create empty /root directory
This is for those who want to run Conty with root privileges, which I do not recommend, but i understand that this may be useful in some cases.
2021-05-28 14:23:34 +05:00
Kron4ek
409a08d196
Bind XAUTHORITY file
This is required for any graphical application to work (to connect to X server) when SANDBOX is enabled. Another possible solution is to allow any local user to connect to X server by using xhost, but binding XAUTHORITY is simpler.
2021-05-28 14:22:29 +05:00
Kron4ek
85e0b8c837
Check for wget and gzip 2021-05-28 01:16:50 +05:00
Kron4ek
844f53e0cc
Update create-arch-bootstrap.sh 2021-05-28 01:07:34 +05:00
Kron4ek
edc3f5d938
Install packages after removing packages 2021-05-27 20:01:19 +05:00
Kron4ek
8dca7fe819
Replace yes with noconfirm
Otherwise pacman may hang in some cases (for example if there are multiple providers for a library).
2021-05-27 19:29:08 +05:00
Kron4ek
4b95ac108b
Install important packages first 2021-05-27 19:21:37 +05:00
Kron4ek
a77e3c2423
Reduce the locales list 2021-05-27 18:19:07 +05:00
Kron4ek
1a6265a3d7
Always install some packages
Always install fakeroot, reflector and squashfs-tools, even if they are missing from the "packagelist" variable. Because they are required for the self-update feature to work properly.
2021-05-25 19:19:37 +05:00
Kron4ek
a96d52b60f
A note about Chaotic-AUR 2021-05-25 19:00:49 +05:00
Kron4ek
21ef8c7514
Add an argument to show the script version 2021-05-25 18:31:21 +05:00
Kron4ek
d95634058d
Create empty /etc/localtime 2021-05-22 14:54:24 +05:00
Kron4ek
68bc1b222d
Add ability to remove packages 2021-05-22 14:33:44 +05:00
Kron4ek
c40cec506d
Fix typo 2021-05-20 14:55:02 +05:00
Kron4ek
7b37b5f218
Check the values of variables
It makes more sense.
2021-05-20 14:51:11 +05:00
Kron4ek
812b73ee49
Remove AUTOSTART and AUTOARGS variables
Because they are useless.
2021-05-20 14:35:14 +05:00
Kron4ek
6fc84c7263
Allow to set HOME_DIR even without SANDBOX
Because there is no reason to strictly tie this feature to SANDBOX.
2021-05-20 14:23:23 +05:00
Kron4ek
c64be240da
Do not bind /tmp when SANDBOX is enabled
However, it's necessary to bind /tmp/.X11-unix, otherwise applications will not be able to connect to X server when network is disabled (DISABLE_NET=1).
2021-05-20 14:06:53 +05:00
Kron4ek
c8b12bc42d
Update README.md 2021-05-20 13:22:02 +05:00
Kron4ek
7389a082a4
Add mount_point variable
Mount point path is used many times in the script, so it's better to use a single variable for it.
2021-05-19 13:39:01 +05:00
Kron4ek
076c91ffdb
Remove fmount variable 2021-05-19 13:23:31 +05:00
Kron4ek
2a6b1ccdf6
Rename sfuse to mount_tool
As it makes more sense.
2021-05-19 13:17:04 +05:00
Kron4ek
e8a73f4cea
Remove reduntant sudo variable 2021-05-19 13:13:01 +05:00
Kron4ek
9313aa4e74
Remove exit delay 2021-05-19 13:10:03 +05:00
Kron4ek
80ef7c393d
Fix PWD when NVIDIA_FIX is enabled 2021-05-19 13:07:49 +05:00
Kron4ek
3d19569ea9
Chaotic-AUR fixes 2021-05-18 15:13:06 +05:00
Kron4ek
62f247ee57
Use lower compression level
In my testing, compression using level 14 is almost 3x faster than level 19, while compression ratio is only about 2% lower. In my opinion, it's definitely worth it.
2021-05-15 15:59:07 +05:00
Kron4ek
b03f6dcab2 Update zstd to 1.5.0 2021-05-15 14:51:44 +05:00
Kron4ek
2ab89c45ac
Generate mirrorlist with reflector
If it's available.
2021-05-13 02:58:34 +05:00
Kron4ek
a3450c7757
More improvements 2021-05-07 20:17:57 +05:00
Kron4ek
2313664285
More improvements for the self-update feature 2021-05-07 00:26:31 +05:00
Kron4ek
6770cf5792
Improvements to the self-update feature 2021-05-06 15:41:22 +05:00