Commit graph

845 commits

Author SHA1 Message Date
Philip
66e7cc1c99 [util] disable overlayfs when iso-kernel is lower than 4.0 (proper) 2015-06-28 15:07:53 +02:00
Philip
41e3ce96b1 [util] disable overlayfs when iso-kernel is lower than 4.0 (move to proper place) 2015-06-28 14:12:24 +02:00
Philip
e65e08ec3e [util] disable overlayfs when iso-kernel is lower than 4.0 2015-06-28 14:12:14 +02:00
Philip
97564f67ef [util] disable overlayfs when host-kernel is lower than 4.0 2015-06-28 14:12:04 +02:00
Philip
cc17f3809e [util] disable overlayfs when iso-kernel is lower than 4.0 (move to proper place) 2015-06-28 14:08:34 +02:00
Philip
be746e6298 [util] disable overlayfs when iso-kernel is lower than 4.0 2015-06-28 14:04:47 +02:00
Philip
30d91f8cdb [util] disable overlayfs when host-kernel is lower than 4.0 2015-06-28 13:49:24 +02:00
Philip
2548c669ce [buildiso] try to fix 'util-iso' overlayfs issue 2015-06-28 13:13:29 +02:00
Philip
0621a66b6b [util-iso] import 'util.sh' 2015-06-28 13:13:17 +02:00
Philip
d6de74d187 [util-iso-*] work on #40 2015-06-28 13:12:34 +02:00
Philip
0263b04453 [util-iso-boot] remove double space 2015-06-28 13:12:17 +02:00
Philip
2d63caccb4 [util-iso-boot] suppress 'quiet splash' when plymouth is not used
- fixes #117
2015-06-28 13:12:03 +02:00
Philip
ad60bef9a2 [util-iso-image] enable 'QT_STYLE_OVERRIDE=gtk' for more editions 2015-06-28 13:11:45 +02:00
Philip
d37d191084 [util-iso] remove verbose debug message 2015-06-28 13:03:34 +02:00
Philip
b7c4ab3c9e [buildiso] try to fix 'util-iso' overlayfs issue 2015-06-28 12:58:55 +02:00
Philip
2afb93c88a [util-iso] import 'util.sh' 2015-06-28 12:31:56 +02:00
Philip
e9e6b80631 [util-iso] be more verbose on aufs/overlayfs 2015-06-28 12:02:27 +02:00
Philip
43878d23ea [util-iso-*] work on #40 2015-06-28 11:56:02 +02:00
Philip
19df5a0a28 [util-iso-boot] remove double space 2015-06-28 11:05:49 +02:00
Philip
9497693a6f [util-iso-boot] suppress 'quiet splash' when plymouth is not used
- fixes #117
2015-06-28 11:03:11 +02:00
Philip
17286bc42d Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel 2015-06-28 10:27:25 +02:00
Philip
b149930338 [util-iso-image] enable 'QT_STYLE_OVERRIDE=gtk' for more editions 2015-06-28 10:27:02 +02:00
udeved
d3ad2b453f [util-iso] use Packages-Desktop as more logical name for shared desktop packages 2015-06-26 22:38:32 +02:00
udeved
ddfaeaf851 [util-iso] change merged temporary list location to work_dir 2015-06-26 21:22:58 +02:00
udeved
276d2a1be5 [util-iso] revert previous, simply cleaning pacman_conf on pkgs image should do 2015-06-25 20:51:56 +02:00
udeved
0bbddff930 [util-iso-image] try to fix local repo issue
add pacman.conf to chroot-run args
2015-06-25 20:30:01 +02:00
udeved
9c681f2404 [util-iso-aufs] perhaps fixes the long standing umount error on certain conditions 2015-06-25 17:53:18 +02:00
Ramon Buldó
9c9045b8e6 Fix missing space 2015-06-25 12:30:54 +02:00
Ramon Buldó
3b32ed3af0 Fix typo 2015-06-25 12:30:30 +02:00
Ramon Buldó
67b4d20570 Remove pacman-boot, it may slow boots times considerably. 2015-06-25 12:17:33 +02:00
udeved
fffa6f85b7 Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel 2015-06-25 11:22:28 +02:00
udeved
7ef28c88d5 clean up mounting code 2015-06-25 09:59:35 +02:00
Ramon Buldó
57a039088a livecd: Remove pamac auto-update in the livecd when the network is up, it causes various problems when booting. 2015-06-25 02:25:25 +02:00
udeved
954c48d32c [util-iso-boot] chamge mkinitcpio hook for overlayfs use 2015-06-25 00:17:09 +02:00
udeved
005b2db446 [util-iso-overlayfs] try to keep changes in image creation code at minimum so we can switch to any filesystem we want 2015-06-25 00:16:18 +02:00
Ramon Buldó
752dd515c5 Add overlayfs support.
Building images works fine. Enable it by adding use_overlayfs="true" to manjaro-tools.conf.

The miso_overlayfs hook doesn't work, to test change the miso hook to miso_overlayfs.
2015-06-24 12:28:40 +02:00
Ramon Buldó
fef11e8ce5 overlayfs: fix initializing gpg at livecd boot 2015-06-24 11:05:07 +02:00
udeved
2a5501bd6c [util-iso] expand profile.conf check to include new bool vars 2015-06-22 14:54:54 +02:00
udeved
146a18012a [util-iso*] fix typo 2015-06-22 14:47:06 +02:00
udeved
ff0a6326a2 [buildiso] rename plymouth var -> plymouth_boot 2015-06-22 14:39:26 +02:00
udeved
3a085908c8 Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel 2015-06-22 14:07:43 +02:00
udeved
6654b14d96 [util-iso] umount any image on error 2015-06-22 14:06:27 +02:00
udeved
66803eae7e [util-iso-boot] rm useless code 2015-06-20 01:14:49 +02:00
udeved
a353decbf0 [util-iso-boot] fix sed logic 2015-06-20 00:46:05 +02:00
udeved
f62e4d187c [util-iso-boot] plymouth and pxe will be set on copy 2015-06-20 00:19:51 +02:00
Ramon Buldó
8f4a297902 Fix default desktop file for cinnamon 2015-06-18 08:56:30 +02:00
Philip
2ec1c90ea7 [util-iso-image] adopt to Cinnamon 2.6.8 2015-06-18 06:58:07 +02:00
udeved
5df91a17e4 [buildiso] remove the rest of lng code 2015-06-17 21:57:56 +02:00
udeved
512ed7d586 [util-iso][util-iso-boot]
remove Lng code #111
2015-06-17 21:39:39 +02:00
udeved
789109bc18 [util.iso] tweak temp file name to match profile's file name 2015-06-17 20:48:33 +02:00
udeved
b2216a61f2 [util-iso] add ability to load a shared template list for desktop package list 2015-06-17 20:05:11 +02:00
udeved
e2a6da615a [util-iso-calamares] upd bootloader conf 2015-06-17 10:14:22 +02:00
udeved
c389299132 [util-iso-image] forgot then statement 2015-06-17 00:22:26 +02:00
udeved
7cb0f2dae1 [util-iso] add and use configure_root_image() 2015-06-17 00:19:42 +02:00
udeved
4b4c5f10ce [util-iso-image] fix typo 2015-06-16 22:50:16 +02:00
udeved
153b8ba3e8 [util-iso-image] configure pam for consolekit with openrc lightdm 2015-06-16 22:37:49 +02:00
udeved
7466fd55c4 [util-iso] update load_pkgs() to use new tags 2015-06-16 21:32:26 +02:00
udeved
c2ced90951 [livecd] clean up commented code 2015-06-16 20:10:35 +02:00
udeved
9a00d6e022 [livecd] move the localization in a xinitrc.d file in shared/overlay-livecd 2015-06-16 01:30:17 +02:00
udeved
b057f308b6 [util-livecd] fix syntax 2015-06-16 00:34:14 +02:00
udeved
ef70c437f8 [livecd] move all desktop installer items to util-livecd 2015-06-16 00:18:58 +02:00
udeved
85c19f754c [util-iso-calamaeres][util-livecd]
attempt to localize the desktop dir name in live session
2015-06-15 23:58:54 +02:00
udeved
aefb310648 [util-iso] rename util-iso-aufs;
use new name at import
2015-06-15 19:10:11 +02:00
udeved
de915fe7a8 [util-iso] fix error msg description 2015-06-15 18:41:29 +02:00
udeved
68da1aefd1 [util-iso] check valid initsys var 2015-06-15 10:52:41 +02:00
udeved
a916bbbd36 [util] add is_valid_init() 2015-06-15 10:51:40 +02:00
udeved
847991443d [util-iso] add check_profile_conf()
checks profile.conf for valid variable values
2015-06-14 23:08:24 +02:00
udeved
9de8d8e832 [util-iso] add a validity check for bool var strings 2015-06-14 22:31:31 +02:00
udeved
6c2c43c9a5 [util-pkg] add msg to cleaning 2015-06-14 20:11:10 +02:00
udeved
aa97ffd3e0 [util-iso] fix i686 load_pkgs 2015-06-13 23:59:50 +02:00
udeved
277ff1ce07 [util-iso] add umount handler if build_image fails 2015-06-13 23:48:57 +02:00
udeved
7550dca117 [util] make sure sets dirs are present 2015-06-12 11:09:29 +02:00
udeved
3a2b3918d5 revert subdirs; better makefile 2015-06-12 03:25:28 +02:00
udeved
6fc79feb50 [util-iso] fix util-livecd copy 2015-06-12 00:35:12 +02:00
udeved
f98c71927b [util-msg] add error handling for import() 2015-06-12 00:29:16 +02:00
udeved
6ed34f132f [util-iso] rm useless code in load_pkgs() 2015-06-12 00:08:16 +02:00
udeved
238bf27e38 [lib] sub dir move 2015-06-11 22:56:25 +02:00
udeved
d42d2bf093 [util-iso] import util-iso-fs.sh 2015-06-11 21:50:47 +02:00
udeved
2b5eee3a92 [util-iso-fs] add aufs or overlayfs 2015-06-11 21:50:18 +02:00
udeved
fec0626318 [util-iso-image] split ou aufs stuff 2015-06-11 21:49:36 +02:00
udeved
73c6f8a65a [util-pkg] cosmetics 2015-06-11 21:37:46 +02:00
Ramon Buldó
bdb87f704b Removing directories inside the overlayfs will cause latter that when remounting them the directory is empty, even if the lower dirs are not. 2015-06-11 17:01:39 +02:00
Ramon Buldó
2a06b641c1 Add overlayfs support.
Building images works fine. Enable it by adding use_overlayfs="true" to manjaro-tools.conf.

The miso_overlayfs hook doesn't work, to test change the miso hook to miso_overlayfs.
2015-06-11 13:59:34 +02:00
udeved
82f5cb32e9 [util-iso-image] add a msg 2015-06-10 17:15:37 +02:00
udeved
c6250ec10f [util-iso] readd <arch> sed 2015-06-10 17:05:47 +02:00
udeved
e9d2624a56 [util-iso] use configure_mhwd() 2015-06-10 16:56:24 +02:00
udeved
819f6416a7 [util-iso-image] add configure_mhwd()
writes mhwd-x86_64.conf if not multilib
2015-06-10 16:56:04 +02:00
udeved
7009033ada [util-iso] tweak load_pkgs() 2015-06-10 16:45:56 +02:00
udeved
b17b6c2b55 [util-iso] simplify pkglist loading 2015-06-10 11:44:45 +02:00
udeved
0e1aeac3f9 [util-iso-image] split out detect_desktop_env() 2015-06-10 02:46:14 +02:00
udeved
48ddf48281 [util-iso-boot] use nonfree:xorg var for isolinux.cfg & msg 2015-06-10 02:45:20 +02:00
udeved
3f0e93e979 [util-iso] update pkglist loaders 2015-06-10 02:14:11 +02:00
udeved
890999160a [util-iso] update new pkg loading; comment out 2015-06-09 20:58:30 +02:00
udeved
0657dca420 [util] load nonfree_xorg in profile.conf 2015-06-09 18:42:55 +02:00
udeved
4ac1513cf3 [util-iso] make pkg load functions more readable 2015-06-09 17:45:12 +02:00
udeved
ca233c6bc8 [util-iso] add 2 new pkg loaders; don't use it for now 2015-06-09 17:18:08 +02:00
udeved
0a0cf4f088 [util] load multilib bool var in profile.conf 2015-06-09 17:17:23 +02:00
udeved
4e25c29951 [util] fix typo 2015-06-09 02:43:44 +02:00
udeved
20b5f57bd6 [util-iso] put exit of mksquash right 2015-06-09 02:17:45 +02:00
udeved
e03be61f36 [util-iso] rm prepare_cachedirs() 2015-06-09 01:50:45 +02:00
udeved
2271bd2aa7 [util*] redo checks 2015-06-09 01:14:58 +02:00
udeved
b3a74eb8cf Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel 2015-06-09 00:03:06 +02:00
udeved
b2787f9f14 [lib] minor updates; cleaning 2015-06-09 00:02:32 +02:00
Ramon Buldó
b52620d19a Fix previous commit 2015-06-08 21:35:18 +02:00
Ramon Buldó
966404280c buildiso: Rework how package caches are created
Instead running pacman outside the chroot, this runs it inside:
1. Download the needed packages (the pacman cache is bind to the host pacman cache).
2. Make a list of packages to be copied to the pacman cache.
3. Copy the packages with rsync.

This solves:
- Uses the packages in the right branch (before it used the host's branch).
- Don't need to redownload packages anymore, saving tons of time.
- pkg_dir_cache and lng_dir_cache are not needed anymore, no need to clean them too.
2015-06-08 21:21:46 +02:00
udeved
f0aa9e4ebf [util] remove commented code 2015-06-07 23:48:15 +02:00
udeved
83cc1d9545 [util-pkg] check_req buildset support 2015-06-06 23:13:37 +02:00
udeved
7c4ddf84d3 [util-pkg] fix check_requirements() 2015-06-06 22:14:41 +02:00
udeved
5af4e9dbb7 [util-pkg] fix typo 2015-06-06 19:27:22 +02:00
udeved
f88fd8e5f3 [util-livecd] comment oenrc specigic lightdm pam stuff 2015-06-06 15:56:01 +02:00
udeved
dd98d2bab6 [util] split out functions from load_conf() 2015-06-06 15:54:37 +02:00
udeved
9737cb679f Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel 2015-06-06 14:22:16 +02:00
Ramon Buldó
07e0659c93 Re-add optional autologin in livecd 2015-06-06 13:43:00 +02:00
udeved
133c2b5ba8 Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel 2015-06-06 13:14:45 +02:00
udeved
72648f7271 [util] some more calc build deps work; experimental 2015-06-06 13:14:01 +02:00
Ramon Buldó
ea21bb105b autologin is setup in the installer 2015-06-06 13:03:47 +02:00
Ramon Buldó
3fb92f36d3 Fix autologin in livecd, changed function named because it clashes with another function in util.sh 2015-06-06 13:01:13 +02:00
Philip
f789ca4b9d [util-livecd] some more tries to fix autologin for lightdm 2015-06-06 11:08:41 +02:00
Philip
4a93848d5e [util-livecd] fix typo 2015-06-06 10:36:25 +02:00
udeved
fed25c7988 [util] move build_mirror up in the load func to reflect changes of hsared mirror 2015-06-06 10:03:52 +02:00
udeved
3b0b3d3c71 [util-livecd] cosmetics with autologin 2015-06-06 09:58:26 +02:00
udeved
1afd1b77b3 merge branch remote 'devel' in devel 2015-06-06 09:55:02 +02:00
udeved
c14135d13c [util] add some more dep calc (wip) 2015-06-06 09:48:56 +02:00
udeved
cfba310482 [util-livecd] check if autologin is true before alterning DM conf 2015-06-06 09:48:12 +02:00
Philip
572ffea547 [util-livecd] use 0 timeout for lightdm 2015-06-06 09:39:58 +02:00
udeved
6058ed34a1 [util-pkg] finish check_requirements() 2015-06-05 16:43:09 +02:00
udeved
04fef22795 [util-pkg] comment unfinished func 2015-06-05 14:53:45 +02:00
udeved
46e6bfed3e [util] wip- add a check for valid buildet before chroot is started 2015-06-05 07:53:57 +02:00
udeved
e1f8ba4bbb [util-iso] fix dir create 2015-06-04 22:50:38 +02:00
udeved
6880001d3d import esclapion's work 2015-06-04 16:34:08 +02:00
udeved
31aa5f7f6b [util-iso] add and use aufs_clean() 2015-06-04 15:20:04 +02:00
Ramon Buldó
aa5860cbb4 Merge pull request #99 from manjaro/dm-conf
Rework desktop environment autodetection
2015-06-03 18:21:21 +02:00
udeved
c6895e0031 [util-iso] use new mkchroot arg 2015-06-03 17:52:46 +02:00
udeved
818417ca3e [util-iso-image] use mkchroot_args var 2015-06-03 17:25:53 +02:00
udeved
efd04a4a90 [util-iso] make the initial chroot changes work with buildiso 2015-06-03 17:25:29 +02:00
udeved
55e2e73723 [util] add copy keyring/mirrorlist 2015-06-03 16:09:26 +02:00
udeved
e2afa0dc76 [util] add back host branch switching to play around 2015-06-03 00:14:49 +02:00
udeved
68f2a151ab [util-pkg] add check for chroot version file 2015-06-03 00:14:07 +02:00
udeved
c29a1a1ab1 [util] fix sed, forgot arg 2015-06-02 21:23:02 +02:00
udeved
63d0bc4c6a [util] change the pacman.conf functions 2015-06-02 21:18:54 +02:00
udeved
e38f4983ae [util-iso] remove the stuff 2015-06-02 21:18:24 +02:00
udeved
361c80bf5f [util-iso] use new func to initialize the right branch chroot 2015-06-02 18:13:04 +02:00
udeved
08eaeddd81 Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel 2015-06-02 17:39:38 +02:00
udeved
9f4382fdb9 [util][util-mount] clean up 2015-06-01 23:15:29 +02:00
udeved
67c9d025d0 [util] msg cosmetics 2015-06-01 22:40:14 +02:00
udeved
d1b6a11f9a [util] update new func 2015-06-01 22:28:21 +02:00
udeved
7573b38ca8 [util] add set_core_branch() 2015-06-01 21:19:28 +02:00
udeved
27301d38b2 [util] add fix_pacman_conf() 2015-06-01 21:02:11 +02:00
udeved
9f82d1ad75 [util] rm host_branch msg 2015-06-01 16:21:33 +02:00
udeved
f97bb02e9d [util] add reset_branch() 2015-06-01 15:52:03 +02:00