Commit Graph

770 Commits

Author SHA1 Message Date
Gerardo Exequiel Pozzi
67df3a4e38 [archiso] Update README.build
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-26 11:10:49 -03:00
Gerardo Exequiel Pozzi
f166038db8 [configs/releng] Refactor build.sh: build only dual-iso
* This scripts, now runs only in x86_64.
* build.sh does not require arguments to run (no more build, clean, purge).
* /usr/share split is not done anymore: there are some differences between two arches. (ISO size +60MiB)
* /usr/lib/modules split is not done anymore: this was never enabled officially in aitab.

Tested and works fine. Maybe some small cosmetic changes needed.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-21 15:01:01 -03:00
Gerardo Exequiel Pozzi
89fe9b78ae [archiso] mkarchiso: Cleanup kernel(s) in /boot
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-16 20:12:11 -03:00
Gerardo Exequiel Pozzi
e6409b6061 [archiso] mkarchiso: do not process aitab entry if arch differs
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-16 18:06:04 -03:00
Gerardo Exequiel Pozzi
e6f0ffc189 [configs/releng] Always use x86_64 as primary source for dual-iso
Simplify code path.

Previously in "dual" mode is executed when arch=i686, i686 was used as primary source.
This does not change current behaviour of building "dual" on x86_64.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10 12:09:21 -03:00
Gerardo Exequiel Pozzi
9de7abfc19 [archiso] mkarchiso: Disable lazy_itable_init (ext4)
Ensure that all inode table is initialized at filesystem creation.
(Anyway filesystem is small, so at first mount is may quickly initialized)

This avoid possible COW usage during runtime ;)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10 12:06:19 -03:00
Gerardo Exequiel Pozzi
f4ecca25b7 [archiso] mkarchiso: Use truncate instead of dd
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10 12:06:19 -03:00
Gerardo Exequiel Pozzi
f11f34ce48 [archiso] Update README.knownissues
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10 12:06:19 -03:00
Gerardo Exequiel Pozzi
943fc67411 [configs/baseline] Update mkinitcpio.conf for 0.12
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10 12:05:53 -03:00
Gerardo Exequiel Pozzi
c4ef2d4d40 [configs/releng] Update mkinitcpio.conf for 0.12
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10 11:36:31 -03:00
Gerardo Exequiel Pozzi
a24ea84be0 [configs/releng] Rework make_customize_root_image()
Using a separate shell script to customize live-enviroment,
makes much more readable code.
Move all thing except:
* Need network access (name resolving).
* Need access to some file outside chroot.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-11-02 15:09:53 -03:00
Pierre Schmitz
ee8e7f3eb9 Prepare release 2012-10-30 16:08:07 +01:00
Gerardo Exequiel Pozzi
6b27e74cff [archiso] File typo in filename
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-26 11:33:23 -03:00
Gerardo Exequiel Pozzi
ed2d728c24 [archiso] Document NTFS support (since syslinux 4.06)
Add a note that COW is not supported since ntfs.ko module is used inside initramfs.
(there is no ntfs-3g inside)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-25 23:40:03 -03:00
Gerardo Exequiel Pozzi
f72752b17b [archiso] Remove fixed know-issue
wooohoooo! Fixed in syslinux 4.06 :)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-25 23:40:03 -03:00
Gerardo Exequiel Pozzi
293f9d26ff [configs/releng] Remove redundant package installation
curl is a dependency for pacman

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-25 23:26:25 -03:00
Gerardo Exequiel Pozzi
5ff7b02a60 [configs/releng] Remove custom /etc/hosts
Leave the work to the [nss-myhostname] package that is now in {base}
and is configured by default in [filesystem] (/etc/nsswitch.conf).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-25 07:42:35 -03:00
Gerardo Exequiel Pozzi
a79559c897 [archiso] Avoid journald log to /var/log/journal
This was recently enabled in [systemd] package.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-24 13:18:17 -03:00
Gerardo Exequiel Pozzi
aece3e3d2e [archiso] Remove uneeded cleanup /tmp
/tmp is mounted as tmpfs since archiso implements own chroot code.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-24 13:18:16 -03:00
Gerardo Exequiel Pozzi
594fc08b29 [archiso] Remove old code (now redundant)
/etc/mtab symlink is part of [filesystem] since long time

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-24 13:18:16 -03:00
Gerardo Exequiel Pozzi
ae2e58c927 [configs/releng] Rename again / rework autologin@.service
-f is not needed anymore, disable explicitly default getty service

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-20 13:46:34 -03:00
Gerardo Exequiel Pozzi
450396e2c4 [config/releng] Set again multi-user.target as default
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-19 17:00:10 -03:00
Gerardo Exequiel Pozzi
a5ae5f6969 [configs/releng] Remove redundant netcfg entry list (is now in base)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-18 01:02:28 -03:00
Gerardo Exequiel Pozzi
21aa378007 [archiso] Allow set copytoram=n for NBD/NFS
On low memory systems installing via PXE is not possible.
Do not force copytoram=y for NFS/NDB.
Broken/hang things:
* On shutdown.
* On run-time if some network settings changed.

Implements FS#32006.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-16 19:10:17 -03:00
Gerardo Exequiel Pozzi
753d203802 [archiso] Split README file
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Gerardo Exequiel Pozzi
1746e31049 [archiso] Introduce cowfile_size= bootparam
If not set, nothing is changed in current behaviour.

Since dm-snapshot allows to use as "COW" a file with any size,
without caring about the the size of "origin", we can avoid creating a
"COW" file of the same size as the "origin". This is really useful,
when using as cow_device= a filesystem that is VFAT where sparse files
are not supported, so if root-image.fs is 1000M, passing cowfile_size=25%
will create a root-image.cow of 250M instead of 1000M.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Gerardo Exequiel Pozzi
2e94974e2b [configs/releng] Remove uneeded hack (systemd transition)
initscripts/sysvinit are not part from {base} anymore, systemd* is now in {base}.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Gerardo Exequiel Pozzi
b2691db41a [configs/releng] /etc/vconsole.conf remove, redundant
systemd does not touch anymore FONT and KEYMAP by default.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Gerardo Exequiel Pozzi
f712182592 [configs/releng] /etc/timezone is not used anymore
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Gerardo Exequiel Pozzi
0e5b68e0d3 [configs/releng] Remove unused files (startup*.nsh)
These files was used with efi-shell boot method, before gummiboot comes here.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Gerardo Exequiel Pozzi
76ef155a04 [configs/releng] make packages.both for common packages for each x86_64
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:40 -03:00
Pierre Schmitz
a5e942a5c0 Revert "Fix typo in shebang"
This reverts commit 6f68bec907.

Using ash was actually correct as only this shell is available in initramfs.
It was the commit message of 27940c420f that was wrong
2012-10-06 11:08:44 +02:00
Pierre Schmitz
6f68bec907 Fix typo in shebang 2012-10-06 10:56:05 +02:00
Pierre Schmitz
7d26b1eae9 Add the arch user to some useful groups
Only use groups that wont allow damaging the host system by accident.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-06 07:20:59 +02:00
Pierre Schmitz
d355c2b835 Only enable the needed services
* pacman-init already pulls in services it depends on
* the multi-user.target is the default
* do not rename the getty service so tools like systemd-delta still work

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-06 00:27:18 +02:00
Pierre Schmitz
76f275e993 Use tmpfs for /etc/pacman.d/gnupg instead of a symlink to /run
This fixes FS#31815

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-06 00:24:24 +02:00
Pierre Schmitz
39bf4183d1 Prepare v3 release 2012-10-05 18:29:40 +02:00
Pierre Schmitz
da8a83172d Makefile: Do not preserve ownership
If we use cp -a files might copied with the wrong ownership and might end up like this on the target iso.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-05 18:18:18 +02:00
Pierre Schmitz
077e81e458 Add rfkill to the live system
Some wireless devices need to be enabled before use which is easier using rfkill.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-05 12:27:42 +02:00
Pierre Schmitz
99ae577946 Place the x86_64 boot before i686
This is a very minor change, but let's most people just press enter on bootup.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-05 11:51:38 +02:00
Pierre Schmitz
41def4c27d Run dhcpcd on all devices
As we did with initscripts, run dhcpcd on all devices and not just eth0.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-05 11:32:28 +02:00
Pierre Schmitz
d2e69f4a4a Disable ntpd service by default
A live system should never alter the host system in any way. This includes setting the bios clock.

E.g. if the user runs his system in local time we would do the wrong thing here.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-05 06:55:36 +02:00
Gerardo Exequiel Pozzi
72b34f572e [configs/releng] Add ethtool to live-enviroment
FS#28773 - [ethtool] [net-tools] one of packages should belong to base group

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-04 19:21:08 -03:00
Gerardo Exequiel Pozzi
7348065cdf [archiso] Update README (know issues)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
6ef682f16d [configs/releng] Add timestamp to initramfs
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
d552ad32ab [configs/releng] Rework automated_script() from initscript hooks to /root/.zlogin
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
d5e1363cbb [configs/releng] Remove files for sysvinit and initscripts
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
56b1e931bc [configs/releng] Install systemd as default (with sysvcompat)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
e8d8124dd2 [configs/releng] Enable systemd services
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
0dc8c7b3c7 [configs/releng] Add autologin.service
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00