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
udeved
669d1941c9
[util] fix typo; add some msg
2015-06-01 01:26:11 +02:00
udeved
5b2bc21f40
[buildpkg] add workaround #96
2015-06-01 01:20:02 +02:00
udeved
8a830c84bd
[util] add set_branch()
2015-06-01 01:09:05 +02:00
udeved
ff3f598f0a
[basestrap] move out some functions
2015-05-31 23:32:50 +02:00
Ramon Buldó
49f97c862a
Rework desktop environment autodetection
...
Add default_desktop_executable and default_desktop_file options in profile.conf
Setting both options will bypass displaymanager autodetection and use provided values to configure the displaymanager.
If one or both are not set it will use diplaymanager autodetection and configuration.
Configure displaymanager.conf for calamares.
2015-05-31 01:26:28 +02:00
Ramon Buldó
d56eba0ca2
Rename function "write_calamares_dm_conf" to "write_calamares_displaymanager_conf"
2015-05-31 01:10:30 +02:00
udeved
9076b2cbd3
Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel
2015-05-29 00:14:10 +02:00
udeved
c61efe8f08
[util-iso-boot] add a ucode copy function
2015-05-29 00:13:54 +02:00
Ramon Buldó
f8f89c5883
In the livecd scripts store logs in /var/log instead of /tmp
2015-05-27 06:28:57 +02:00
udeved
50659e5e32
[util] add 2 new msg functions
2015-05-22 16:51:45 +02:00
udeved
4c609c4c8e
[util-iso-image] msg cosmetics
2015-05-22 15:03:10 +02:00
udeved
61bd6eaf17
[util*] msg cosmetics
2015-05-22 14:53:27 +02:00
udeved
afbe6590e6
[util-iso*] rm verbose_args; bad idea
2015-05-22 13:09:28 +02:00
udeved
bc60ac59fc
[util] add description comment for parameters
2015-05-22 12:42:41 +02:00
udeved
02754028c8
[util-iso*] testing verbose output
2015-05-22 12:41:34 +02:00
udeved
eb8ee9f5dd
[util] add check_profile()
2015-05-22 00:13:39 +02:00
udeved
ebb6aba7b0
[util] add sets and chroot dirs temp. back
2015-05-21 23:23:33 +02:00
udeved
d8b93aaa89
[util] simplify chroots and sets dir
2015-05-21 22:44:32 +02:00
udeved
afd23b96e9
[util-iso-image] move some code
2015-05-21 19:54:29 +02:00
udeved
e46dc6c5cd
[util-iso-boot] fix var name in isolinux.cfg
2015-05-21 19:53:52 +02:00
udeved
bbac1bd1dd
[util-iso] fix last part of #78
2015-05-15 23:52:29 +02:00
udeved
bd69f7050c
[util-iso] some msg minor changes; rm mkiso
2015-05-12 19:56:56 +02:00
udeved
384585f61a
[uitl-iso] fix #92 ; set new efi_part_size back to 31M
2015-05-12 01:08:23 +02:00
udeved
4e58008ead
[buildiso] drop unused code; some cosmetics
2015-05-11 23:32:40 +02:00
udeved
d6a220c3f3
[util-iso] fix chroot creation
2015-05-11 21:29:46 +02:00
udeved
a6b3e898d3
[util-iso] fix msg
2015-05-11 21:07:46 +02:00
udeved
9c6ca51daa
[util-iso] fixes
2015-05-11 20:59:05 +02:00
udeved
c4a2ab9c47
[util-iso] fix make_chroot args
2015-05-11 19:42:05 +02:00
udeved
aad0f8923e
[uti-iso] rm escaped 'fi'
2015-05-11 18:55:04 +02:00
udeved
1573ed33df
[util*] do some cleaning
2015-05-11 18:31:41 +02:00
udeved
797594e26d
[buildiso] integrate mkiso; WIP
2015-05-11 12:47:02 +02:00
udeved
39446b4ff6
[util-iso] more cosmetics, forgot one brackets, fix msg path
2015-05-10 23:27:26 +02:00
udeved
56165d266c
[util-iso] cosmetics, put clean_pacman_conf in right place
2015-05-10 23:09:36 +02:00
udeved
74e6ff442d
[util-iso] add some info msg #54
2015-05-10 22:26:39 +02:00
udeved
e4ace3f19f
[util-iso] fix sed
2015-05-10 22:22:00 +02:00
udeved
775345c0db
[util-iso] remove any local repo from a custom pacman.conf
2015-05-10 22:13:12 +02:00
udeved
07de2adfba
[util-iso] set a flag for custom pacman.conf
2015-05-10 20:22:46 +02:00
Philip
ad260c7cb1
[util] update defaults
2015-05-10 11:26:42 +02:00
udeved
71349b127e
[util-iso] redo clean_pacman_conf to use keep_repos array so to define more than one repo to keep; some cosmetics
2015-05-09 10:38:44 +02:00
udeved
81cb9b007a
[util] comment out bool switches
2015-05-09 10:37:23 +02:00
udeved
9286bb52e6
[util-livecd] use pam-autologin for lightdm on openrc
2015-05-09 01:37:24 +02:00
Philip Müller
68498bb4fc
Merge pull request #87 from aadityabagga/master
...
[util-iso] allow configuring xorg and lng pkg cache cleanup via config + allow removal of local repo from pacman.conf
2015-05-08 04:56:57 +00:00
udeved
7ecdcd6f77
[util-pkg] clean up unused
2015-05-07 23:20:32 +02:00
udeved
8e997ad1dd
[util-pkg] ad workaround arch var
2015-05-07 23:10:13 +02:00
udeved
b7b78609b1
[util-pkg] test run_post_build()
2015-05-07 22:41:56 +02:00
udeved
442fa0cdfa
[util-pkg] rename check function
2015-05-06 23:03:21 +02:00
udeved
b9fb5ca29d
[util-iso] rename check function
2015-05-06 23:03:08 +02:00
udeved
103c2ff68f
[util] set efi_part_size 32M default
2015-05-06 21:48:15 +02:00
udeved
3be6303161
[buildiso] add efi_part_size to profile.conf
2015-05-06 21:05:12 +02:00
udeved
0cd20bafac
[util-iso] increase fat size, otherwise a net config will have space problems with 31M
2015-05-06 20:21:55 +02:00
udeved
28662753c9
revert changes for #84
2015-05-06 20:17:14 +02:00
udeved
e19407d3c9
[util-iso*] add possible approach to PXE #84
2015-05-04 21:32:04 +02:00
udeved
bec5e9565a
[util-iso] try3 #77 ; fix typo; add some msg
2015-05-04 02:09:45 +02:00
udeved
52632ba62e
[util-iso] try2 #77
2015-05-04 01:51:45 +02:00
udeved
e7ec3d181f
[util-iso] try #77
2015-05-04 01:15:52 +02:00
udeved
5e18d15963
[util-iso] make sure chroot is recreated if outdated
2015-05-03 23:32:21 +02:00
udeved
f8b4696059
[util-pkg] simplify check chroot version
2015-05-03 23:11:12 +02:00
udeved
39839c963c
[util-pkg] fix check_chroot_pkg_version call
2015-05-03 22:31:14 +02:00
udeved
11c20b13ce
bump version; add iso/pkg chroot check version functions
2015-05-03 22:27:40 +02:00
udeved
460c4ffbcf
[util-pkg] simplify and fix split build
2015-05-03 22:00:07 +02:00
udeved
996f8ad6eb
[util-pkg] create only one archive per pkgver/rel
2015-05-03 21:49:06 +02:00
udeved
7b80bf184a
[util-pkg] only add log files
2015-05-03 21:05:56 +02:00
Aaditya Bagga
9f050b09b8
[util-iso] (clean_pacman_conf) use flag variable
2015-05-03 09:28:39 +05:30
Aaditya Bagga
851f56f6c0
[util-iso] try to remove custom repo in pacman.conf, unless specified otherwise
2015-05-03 02:34:24 +05:30
Aaditya Bagga
09bb7f5bc7
[util-iso] allow configuring xorg and lng pkg cache cleanup via config
2015-05-02 23:43:11 +05:30
Aaditya Bagga
225d2bf2d6
[util-iso] try to keep only latest lang and xorg packages
2015-05-02 13:03:13 +05:30
Philip
2e0e94a50c
Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel
2015-04-20 22:17:27 +02:00
Philip
3f1798f25c
[util-iso-calamares] source kernel preset
2015-04-20 22:16:56 +02:00
Ramon Buldó
ccf80ec10c
thus doesnt want the initial "/"
2015-04-20 15:59:49 +02:00
Ramon Buldó
35a3ed6a4c
Readd "
2015-04-20 15:37:09 +02:00
Ramon Buldó
28fbfdcd3d
Provide vmlinuz, initramfs and fallback for thus configuration.
2015-04-20 15:29:09 +02:00
Ramon Buldó
6f33cd8cf8
Add support for pantheon
2015-04-17 15:13:55 +02:00
Aaditya Bagga
4274cd239f
[util-iso] make intel_ucode.img optional
2015-04-17 12:27:55 +05:30
Aaditya Bagga
398460ba83
[util-livecd]: use same keyboard config for both systemd and openrc
...
Forum: https://forum.manjaro.org/index.php?topic=21681.0
2015-04-15 20:01:39 +05:30
Philip
1b4f42635f
[util-iso-boot] echo out when using intel_ucode.img
2015-04-15 10:10:29 +02:00
Philip
747ce6959d
[util-iso-boot] make intel_ucode.img optional
2015-04-15 09:53:25 +02:00
Philip
ba252299cf
[util-iso-calamares] use edition branding for calamares
2015-03-28 06:54:13 +01:00
Philip
443c7afcb0
[util-iso-calamares] use kdesu in kde based editions
...
- fixes theme issue
2015-03-22 11:19:50 +01:00
Philip
d76b67d084
[util-iso-calamares] fix thus.conf
2015-03-21 23:27:38 +01:00
Philip
739e6f6808
[util-livecd] change AutomaticLogin username based on conf file also for gdm
2015-03-21 22:50:13 +01:00
Philip Müller
a88d080609
[util-iso] simplify last commit
2015-03-18 11:39:21 +01:00
Philip Müller
873cdb6198
[util-iso] try on #80
2015-03-18 12:42:45 +01:00
Philip
385a97befe
[util-livecd] try to fix #79
2015-03-15 18:06:37 +01:00
Philip
4a5f96d54f
[util-iso-boot] try to fix #76
2015-03-15 12:16:48 +01:00
Philip
13a8bafe1d
[util-iso-image] fix line 120
...
break: only meaningful in a 'for', 'while', or 'until' loop
2015-03-14 09:56:26 +01:00
Philip Müller
786c6d6d6d
[util-iso] set environment QT_STYLE_OVERRIDE in image
...
- we might need to check if this is needed
- only livecd might be affected do this
2015-03-11 15:02:54 +01:00
Ramon Buldó
db67ebae1a
Don't set QT_STYLE_OVERRIDE=gtk when configuring calamares or thus
2015-03-10 20:10:12 +01:00
Philip
cf37f9bdb8
[util-iso] iso_label modificiations
...
note: I'm open for better/simplified code
2015-03-06 19:07:54 +01:00
udeved
a3e7f036c1
[util] move logging to mkiso
2015-03-05 21:40:27 +01:00
udeved
423f871ebf
[util] move logging
2015-03-05 20:01:07 +01:00
udeved
68437cc20a
[util-iso-*] msg cosmetics
2015-03-05 16:06:08 +01:00
udeved
95e748778c
[util] variable rename for iso libs; small fixes
2015-03-05 10:54:09 +01:00
Philip Müller
85525016b3
[util-iso-boot] Fix sentence
2015-03-04 23:06:15 +01:00
udeved
30e6dcfdb9
[util-iso-boot] spelling
2015-03-04 21:39:06 +01:00
udeved
8c6feca083
[util-iso] use isolinux msg writer
2015-03-04 21:38:46 +01:00
udeved
dec135a98e
[util-iso-boot] add isolinux.msg writer and updater
2015-03-04 21:10:34 +01:00
udeved
c13b0c0fc4
[util-iso] remove test code; found better solution
2015-03-04 20:02:35 +01:00
udeved
b455f45ae7
[util-iso-image] msg cosmetics
2015-03-04 18:15:19 +01:00
udeved
3c08dee8fc
[util-iso-image] make service configuration more init expandable
2015-03-04 18:09:27 +01:00
udeved
96294820cb
Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel
2015-03-04 17:58:38 +01:00
udeved
b956cb5c27
[util-iso] add new initcpio generation, but disable it for now
2015-03-04 17:57:14 +01:00
udeved
d5cd6f41a2
[util-iso-boot] add initcpio preset writer
2015-03-04 17:56:34 +01:00
Ramon Buldó
1909c53966
spelling
2015-03-04 17:42:08 +01:00
udeved
3a56b7cc8e
[util-iso-boot] cosmetics to isolinux
2015-03-04 14:27:28 +01:00
udeved
8e7513344c
[util-iso-boot] fix isolinux bios check
2015-03-04 14:20:27 +01:00
udeved
23788254aa
[util-iso-boot] fix isolinux binaries copy
2015-03-04 13:26:06 +01:00
udeved
e3f45610a6
[util-iso-boot] fix isolinux.cfg; cleanup code
2015-03-04 13:11:50 +01:00
udeved
f168391d9f
[util-iso-boot] move some code away from util-iso
2015-03-04 10:42:15 +01:00
udeved
3c5f0dd6fc
[util-iso-image] comment out test dbus function
2015-03-04 10:41:32 +01:00
udeved
512dd0e3cf
[util-iso-boot] fix filenames
2015-03-04 01:55:27 +01:00
udeved
6290eac1ff
[util-iso-boot] fix filenames; show msg
2015-03-04 01:44:52 +01:00
udeved
a59881a688
[util-iso] fix isolinux overlay cfg
2015-03-04 01:43:47 +01:00
udeved
50c162bbe2
[util-iso-boot] rename to fix make
2015-03-04 00:48:03 +01:00
udeved
a4e588fea9
[buildiso] #70 more dynamic iso boot entires attempt;
...
manjaro_kernel --> dist_kernel
manjaro_kernel_ver --> dist_kernel_ver
manjaroiso --> dist_iso
manjaro_version --> dist_version
2015-03-04 00:40:44 +01:00
udeved
224b2ae606
[util] make syslog-ng default on openrc
2015-03-03 19:39:53 +01:00
udeved
ee90167d4d
[util-iso-image] only setup DM if not set to none
2015-03-03 19:39:03 +01:00
udeved
d59f56d1ef
[util-iso] write manjaroiso var to profile.conf for cli logging
2015-03-03 15:34:38 +01:00
udeved
bbf87aeb40
[util] fix install_dir loading
2015-03-03 12:39:27 +01:00
udeved
a2c793cc21
[buildiso/util-iso] make it build
2015-03-03 02:38:31 +01:00
udeved
5fce544052
[util-iso] fix profile loading; silly error
2015-03-03 02:05:18 +01:00
udeved
973bc438dd
[util-iso] call load_profile_config properly
2015-03-03 01:59:44 +01:00
udeved
221f57e51a
[util-iso] code cleaning; cosmetics
2015-03-03 01:41:18 +01:00
udeved
a1e936a7cc
[buildiso] move iso-profile settings away from manjaro-tools
2015-03-02 23:35:15 +01:00
udeved
a5c9367ddb
Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel
2015-03-02 21:12:43 +01:00
udeved
5df328c70a
[util-iso-profile] add a profile lib
2015-03-02 21:11:35 +01:00
Ramon Buldó
467eeb529c
Remove keyboardctl workaround
2015-03-02 21:08:22 +01:00
Ramon Buldó
8dd55ae1c2
Simplification
2015-03-02 21:07:13 +01:00
Ramon Buldó
911da506ad
Fix empty locale and keyboard settings with efi
2015-03-02 21:05:18 +01:00
udeved
6342435f49
Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel
2015-03-02 20:05:39 +01:00
udeved
d3de58f09a
[util/conf] 1st step to #70
2015-03-02 20:05:07 +01:00
Philip
fdba5e226d
[util-iso-image] split displaymanager service code
2015-03-02 19:49:03 +01:00
Ramon Buldó
ce8b335bca
Fix enabling displaymanager service
2015-03-02 19:03:25 +01:00
udeved
b57b45ed2e
[buildiso/util-iso] enable logging on -L switch
2015-03-01 23:56:35 +01:00
udeved
fbcabe0489
[util-msg] fix colors
2015-03-01 23:55:20 +01:00
Philip
620b11ae5d
[util-iso-calamares] make desktop file executable
2015-03-01 22:08:47 +01:00
Philip
dfa3a0709b
[util-iso-calamares] test for file or symlink
2015-03-01 21:54:36 +01:00
Philip
e54a9d0c29
[util-iso-calamares] use -e as setup is a symlink
2015-03-01 21:36:02 +01:00
udeved
2ffa759cd6
[util-iso] use local vars in logger
2015-03-01 21:24:53 +01:00
udeved
fa3de8d6a9
[util-msg] use linux escapes
2015-03-01 21:24:23 +01:00
udeved
ba65b515c7
[util-msg] try more color fixing #65
2015-03-01 20:22:01 +01:00
udeved
b3b27b358b
Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel
2015-03-01 18:03:55 +01:00
udeved
aabc285813
[util-msg] attempts to fix #65
2015-03-01 18:03:43 +01:00
Philip
e4cf7bcd28
[livecd] fix some issues
2015-03-01 17:24:27 +01:00
udeved
7f0ae00f14
[util-msg] support all basic terminal FG colors
2015-02-28 23:20:54 +01:00
Philip
603bac8313
[util-iso-image] proper last commit
2015-02-28 13:54:30 +01:00
Philip
f1dacdf36f
[util-iso-image] only use plymouth-service if file exists
2015-02-28 13:34:18 +01:00
Philip
65bcda07d0
[multilib] revert, we repack lib32-mesa
2015-02-28 01:22:47 +01:00
udeved
69b0057f17
[util-pkg] seperate the link creation into a script
2015-02-28 00:41:09 +01:00
Philip
b899e91773
Proper #48
2015-02-28 00:09:58 +01:00
Philip
f641038755
Fix #48
2015-02-27 22:40:58 +01:00
udeved
a1f4105ec1
[util-pkg] don't set gl
2015-02-27 20:56:53 +01:00
udeved
13b45ab4f2
[util-pkg] add missing parameter to setgl call;
...
it does not fix the missing mhwd in chroot
2015-02-27 18:42:08 +01:00
udeved
6fff0f73cc
[util-livecd] don't set ballback locale
2015-02-26 23:50:45 +01:00
udeved
1e57dad53b
[util-livecd] use en_US fallback
2015-02-26 23:14:20 +01:00