Commit graph

385 commits

Author SHA1 Message Date
Kron4ek
6acd7b38d3 Mount newroot read-only unless USE_OVERLAYFS is enabled 2023-06-11 00:45:29 +05:00
Kron4ek
79bbe80d21 Increase file descriptors limit if possible 2023-06-10 21:25:32 +05:00
Kron4ek
37cd806fcf Check if Nvidia installed successfully 2023-06-10 21:04:19 +05:00
Kron4ek
ba3737aa3d Add a delay before unmounting the image.
This should speed up Conty startup time significantly when executing multiple instances of Conty in a row.
2023-06-10 16:00:21 +05:00
Kron4ek
c54e734987 Make the mount command more readable 2023-06-10 15:38:07 +05:00
Kron4ek
b09a683ccf Fix exporting desktop files which are symlinks 2023-06-10 13:36:40 +05:00
Kron4ek
9d8301032c
Make all overlay file writable when updating Conty
Otherwise it will fail to remove the overlay at the end.
2023-06-07 14:19:22 +05:00
Kron4ek
c88ca746c4
Update Arch mirrorlist 2023-06-07 13:53:20 +05:00
Kron4ek
55b172fef3
Remove note about utils_size
The script automatically adjusts sizes, no need to manually set them anymore.
2023-06-07 13:47:49 +05:00
Kron4ek
e8da3b7b72
Update README.md 2023-05-31 23:12:29 +05:00
Kron4ek
6b29f9c6b9 Don't try to bind pacman dirs when using unionfs
This completely breaks USE_OVERLAYFS and NVIDIA_HANDLER functions on non-pacman distros.
2023-05-31 20:14:48 +05:00
Kron4ek
8ddb47e225 Run unionfs-fuse through the launch_wrapper
It should have been like this from the start, my oversight.
2023-05-31 20:01:54 +05:00
Kron4ek
413054553e A few improvements for NVIDIA_HANDLER function 2023-05-31 19:19:28 +05:00
Kron4ek
184482a7fe Replace fuse-overlayfs with unionfs-fuse
In my testing, unionfs-fuse works significantly faster than fuse-overlayfs. And it supports both fuse2 and fuse3, which is also an advantage over fuse-overlayfs.
2023-05-31 16:30:13 +05:00
Kron4ek
af228053e0 Fix executing Conty from PATH
This was broken in the latest release.
2023-05-31 13:33:33 +05:00
Kron4ek
95f0c4a7f6
Update README.md 2023-05-30 16:10:01 +05:00
Kron4ek
c7fa33912c
Update README.md 2023-05-30 16:09:03 +05:00
Kron4ek
588c89a714
Update README.md 2023-05-30 16:03:26 +05:00
Kron4ek
e9190cd1ec
Update README.md 2023-05-30 15:54:24 +05:00
Kron4ek
6d3dd1312d
Update README.md 2023-05-30 15:53:10 +05:00
Kron4ek
cb853ab9ff
Update README.md 2023-05-30 15:34:54 +05:00
Kron4ek
f0170b4485
Update README.md 2023-05-30 14:58:36 +05:00
Kron4ek
7d781c3f76
Update README.md 2023-05-30 14:54:23 +05:00
Kron4ek
4e1dcab474
Merge pull request #78 from bayazidbh/readme-suggest
Readme update and suggestions
2023-05-30 14:46:46 +05:00
Bayazid B. Halim
562cd8ae9e
Add Illustrations and TOC
Add illustrations for using GitHub Actions and Table of Contents (plus tidy up some things).
2023-05-28 23:25:20 +07:00
Bayazid B. Halim
fa38c99aa9 Update README.md
Update with latest conty features
2023-05-28 22:57:00 +07:00
Kron4ek
0dfb755446
Remove the gcc13 fix for dwarfs
Fixed in upstream.
2023-05-28 17:13:22 +05:00
Kron4ek
e7bcce338e
Update utils.yml 2023-05-28 17:10:47 +05:00
Kron4ek
27677599f8 Make Conty even more portable
Conty now uses statically linked bash and busybox, so it no longer depends on system-wide bash, tar and gzip.

And other improvements in this commit:

* NVIDIA_HANDLER improved and enabled by default.
* Reworked the self-update feature, it uses fuse-overlayfs now instead of extracting the whole image.
* Added the CUSTOM_MNT, which allows to use Conty with already mounted custom moint points and directory structures.
* create-conty.sh now automatically sets the correct sizes in conty-start.sh
* Added more locales
2023-05-28 16:52:18 +05:00
Kron4ek
3beb06e146 A few improvements for NVIDIA_HANDLER
Also, fuse-overlayfs can now be enabled separately from NVIDIA_HANDLER.
2023-05-24 00:12:44 +05:00
Kron4ek
0e78f7adca
Merge pull request #76 from Drsheppard01/master
beatify README.md
2023-05-23 20:31:03 +05:00
DrSheppard
b0d36e3d21
keep it simple 2023-05-23 17:46:53 +03:00
DrSheppard
684ac540f1
keep it simple 2023-05-23 17:44:59 +03:00
Kron4ek
5fc1df2043 Configure Github Actions
Github Actions will build Conty weekly and utils monthly.
2023-05-23 19:39:24 +05:00
Kron4ek
e7f0a8736e
Update README.md 2023-05-22 11:09:07 +05:00
Kron4ek
a467da324d Add a function to fix issues with Nvidia GPUs
The function is called NVIDIA_HANDLER and is disabled by default.
When enabled, it will automatically download the same Nvidia driver version as installed on the host system and pass it into the container.

This is implemented via fuse-overlayfs, fuse3 is required for this to work.
2023-05-21 22:01:03 +05:00
Kron4ek
9ed24fef16 Implement a simple graphical interface
The GUI will be used by default when a user runs Conty not from a terminal emulator, but from a graphical interface (for example, from a file manager).
2023-05-16 20:46:50 +05:00
Kron4ek
867a9c6bc2
Update README.md 2023-05-12 10:59:31 +05:00
Kron4ek
7869c2dd69 Create ~/.local/share if missing 2023-05-05 00:18:44 +05:00
Kron4ek
fe425cbb61 Also export icons when exporting desktop files 2023-05-05 00:15:56 +05:00
Kron4ek
03efe023fa Update integrated utils
Update bubblewrap to 0.8.0
Update dwarfs to the latest git revision (2a0ac12)
Update squashfs-tools to 4.6.1
Update zstd to 1.5.5
Update all other outdated dependencies
2023-04-15 00:02:41 +05:00
Kron4ek
a68c21884b Preserve environment variables when exporting desktop files
Not all environment variables, but those related to Conty.
2023-04-12 01:58:02 +05:00
Kron4ek
14e606729f Add additional arguments to Conty when exporting desktop files
If there are arguments after the "-d" argument, append them to Conty in desktop files.
2023-04-12 00:49:15 +05:00
Kron4ek
850b0571e4 Export desktop files recursively
Some applications store their desktop files not just in /usr/share/applications, but in a subdirectory. Now we handle such cases too.
2023-04-09 21:04:56 +05:00
Kron4ek
99de03d896
Update README.md 2023-04-08 14:41:41 +05:00
Kron4ek
b3360cdb44
Update README.md 2023-04-08 13:14:23 +05:00
Kron4ek
246016f88f
Update Arch mirrorlist 2023-04-08 00:23:24 +05:00
Kron4ek
b6948fd350 By default use mksquashfs/mkdwarfs provided by the project
No reason not use them, this will allow people to build Conty even on systems that do not have mksquashfs or mkdwarfs.
For those who prefer to use their system-wide programs, there is USE_SYS_UTILS variable.
2023-04-07 15:50:36 +05:00
Kron4ek
7ec81cf471 A few improvement to the desktop files export function
Append "(Conty)" even to translated names.
Skip adding TryExec as it prevents some apps from showing up in application menu.
2023-04-07 14:43:44 +05:00
Kron4ek
89682b085c
Run pacman twice
Sometimes some packages fail to install due to, for instance, mirror issues or due to unstable connection. Running pacman twice increses the chance of successful installation in such cases.
2023-04-06 19:19:07 +05:00