Commit Graph

717 Commits

Author SHA1 Message Date
Gerardo Exequiel Pozzi
8c995ee657 [archiso] Change location of nbd_client.pid
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-28 04:07:04 -03:00
Gerardo Exequiel Pozzi
219b43a0bf [archiso] Load module loop in run_hook()
Otherwise archiso_loop_mnt will fail.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-26 20:12:22 -03:00
Gerardo Exequiel Pozzi
23e1cd01cd [archiso] Avoid regenerate checksum -> .iso.
Also put _is_directory_changed() inside 'if' avoiding premature execution if it returns non-zero.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-26 19:23:25 -03:00
Gerardo Exequiel Pozzi
ee5e372c6e [archiso] Add missing 'rm' some files on uninstall
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-24 00:10:32 -03:00
Gerardo Exequiel Pozzi
aca6dbaec9 [configs/releng] Add irssi to live-enviroment
extra/irssi:
     * Requested by Florian Pritz
        http://mailman.archlinux.org/pipermail/arch-releng/2011-July/001853.html

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-19 13:45:52 -03:00
Gerardo Exequiel Pozzi
315dc5d984 [configs/releng] Add three packages to live-enviroment
core/linux-atm:
    * This was present in 2010.05
    * Optionally needed by iproute2. Needed for ATM connections.

extra/mtools:
    * This was present in 2010.05
    * Optionally dependency of syslinux. Needed if want to install syslinux on vfat.

extra/smartmontools:
    * Requested by Thomas Mudrunka
       https://bugs.archlinux.org/task/25633

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-19 10:19:59 -03:00
Gerardo Exequiel Pozzi
0f392d148d [configs/releng] Set /lib/modules with 50% of free space
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-18 22:26:08 -03:00
Gerardo Exequiel Pozzi
61114497b2 [configs/releng] Add missing serial console support to syslinux
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-18 22:08:48 -03:00
Gerardo Exequiel Pozzi
a9c02d9488 [configs/releng] Replace rc.d/archiso with initscripts hooks.
In this way:
* Prepare locales requested by boot param mostly early possible.
* Setup special console at end of rc.sysinit

Remove unneded include from automated_script (already included by rc.conf)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-18 17:09:00 -03:00
Gerardo Exequiel Pozzi
b16088ba7e [configs/baseline] Add missing -D param to checksum command
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-18 12:48:05 -03:00
Gerardo Exequiel Pozzi
3f86cca0bb [configs/releng] Add missing -D param to checksum command
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-18 12:40:34 -03:00
Gerardo Exequiel Pozzi
708ba38c20 [configs/releng] Fixed and improved serial console support.
Current implementation fails if console=ttyS0 (without more options).

Tested with:
console=ttyS0
console=ttyS0,9600
console=ttyS0,38400
console=ttyS0,9600n8
console=ttyS0,38400n8r

Closing FS#16232

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 21:01:58 -03:00
Gerardo Exequiel Pozzi
b6df75e79c [archiso] Delete README.old
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 01:07:31 -03:00
Gerardo Exequiel Pozzi
c2aefad9b2 [archiso] Makefile trivial fix (if configs/ already on DESTDIR)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 01:07:31 -03:00
Gerardo Exequiel Pozzi
90cfe3ce2c [archiso] Add checksum= boot param
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 01:07:31 -03:00
Gerardo Exequiel Pozzi
12e9d32435 [configs/releng] Add purge_* commands
purge_single command can be usefull to save space during build. It removes
all files in working directory except "iso/" and *.iso.

Workflow can be:

(32)  ./build.sh all_iso_single -> i686 *.iso are ready.
(32)  ./build.sh purge_single -> safe cleanup.
(64)  ./build.sh all_iso_single -> x86_64 *.iso are ready.
(64)  ./build.sh purge_single -> safe cleanup.
(any) ./build.sh all_iso_dual -> dual *.iso are ready.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 01:07:30 -03:00
Gerardo Exequiel Pozzi
808c1a0ed6 [configs/*] Use $script_path for "source" files.
Allows to execute directly build.sh from any directory, using it as working dir.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 01:07:30 -03:00
Gerardo Exequiel Pozzi
8b2acca2de [configs/*] Remove custom fstab, not needed anymore.
re-mount / as rw does not fail since regular file /etc/mtab does not exist
at that stage.

/etc/mtab was removed from root-image in this commit:
93763a2d82

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 01:07:30 -03:00
Gerardo Exequiel Pozzi
14f1d7d479 [configs/releng] Rename core pkgs images and mountpoint.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-11 20:06:12 -03:00
Gerardo Exequiel Pozzi
57d2ea1f4b [archiso] Add dm_snap_prefix= boot param.
Default value is "arch". This implies that all device mapper node
for snapshot devices will be for example: arch_root-image.

This helps AIF to hidden these devices from "Device Configuration".

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-09 16:28:52 -03:00
Gerardo Exequiel Pozzi
b3f918ee60 [archiso] Update kernel image name for linux-3.0
Also rename kernel from vmlinuz-linux to vmlinuz to make filename
ISO9660 friendly.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-24 18:25:33 -03:00
Gerardo Exequiel Pozzi
27e472451e [configs/releng] Add openconnect and vpnc to packages.*
Requested at FS#25081

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 17:14:06 -03:00
Gerardo Exequiel Pozzi
b1ba7a0bba [configs/releng] Remove tiacx-firmware from packages.*
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:50 -03:00
Gerardo Exequiel Pozzi
41dd5bf633 [archiso_pxe_nbd] Allow change NBD export name.
Requested at FS#25051

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:50 -03:00
Gerardo Exequiel Pozzi
c434f1c9eb [configs/releng] Add two small networking packages
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:50 -03:00
Gerardo Exequiel Pozzi
1eb1ca6b54 [configs/releng] Make user "arch" at build time.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
f2009c4c76 [configs/releng] Re-generate locales only if needed.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
4090ba6260 [configs/releng] Add locale.gen and resolv.conf
mkarchroot overwrites these files.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
d7ab3646f3 [archiso] Document needed pkgs required to build
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
8fa4f8dedf [archiso] Update for mkinitcpio >= 0.7
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
3101e8d904 [archiso] Create correctly loop devs if loop.max_part > 0
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
729e110eea [configs/releng] Remove old option from rc.conf
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
f769fed16c [archiso] Update Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
bdd302adaa Avoid killing nbd-daemon on shutdown
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
93763a2d82 [archiso] Delete etc/mtab on _cleanup step
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
0d895a225a [archiso] Ensure that there is no .fs before create it
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
98c457c26f [archiso] mark installed packages, after installing it, not before
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
a7a100aabc [archiso] README update
* Added boot parameters.
* Reorder and clarify build steps.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
85d243ff58 [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit")
* Use device mapper + snapshot module, instead union layer filesystem.
  * A block-level approach vs vfs-level.
  * No more unofficial (Linux) things.
  * More memory is needed.
* Refactor mkarchiso.
* Refactor hooks/archiso.
* Fix install/archiso_pxe_nbd
  (due recent change in mkinitcpio-0.6.15 on checked_modules()/all_modules())
  [Thanks Dave for the improved workaround]
* New configs/releng to build official images.
  * Works with a Bash script instead of Makefile.
    (better control and easy to maintain)
* Remove configs/syslinux-iso.
* Remove archiso2dual script. Integrate functionality in configs/releng.
* New configs/baseline to build the most basic live medium or use as template.
* New README (draft). [Thanks Dieter for fixing english grammar]

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-06-18 18:38:27 -03:00
Gerardo Exequiel Pozzi
4a1bd4c769 [syslinux-iso] Remove devpts and shm entries from fstab
This work is already done by newer initscripts

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-16 21:45:36 -03:00
Gerardo Exequiel Pozzi
90981fa285 [syslinux-iso] fix regression in kernel_cmdline helper function
Fix FS#24203.

Regression introduced at commit b171f8f11f

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-10 20:43:53 -03:00
Gerardo Exequiel Pozzi
91b63fcd05 [syslinux-iso] oops! add missing )
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-10 20:20:39 -03:00
Gerardo Exequiel Pozzi
2499a4cd84 [syslinux-iso] Update overlay pacman.conf
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-08 23:25:02 -03:00
Gerardo Exequiel Pozzi
f5a06717bb [syslinux-iso] Update rc.conf to match newer initscripts.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-08 23:17:37 -03:00
Gerardo Exequiel Pozzi
b340aae9b1 [archiso] Update fstab and "source dev" of aufs.
* Change from none -> union (looks like util-linux is confused BUG?)
    Avoid the message: "umount aufs failed: not found" at shutdown.
    #1 mount -t tmpfs none /something
    #2 mount -t tmpfs xxxx /something
    The output of findmnt -rnu -o SOURCE will be blank in #1.

* Change from aufs -> auto, make its more generic.

* Update devpts and shm entries.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-07 17:41:33 -03:00
Gerardo Exequiel Pozzi
6033a1eaea [archiso2dual] Update help text about -c
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-05 19:25:02 -03:00
Gerardo Exequiel Pozzi
a8c1c0cb6f [syslinux-iso] Fix double execution of initscripts hooks.
Partially revert commit b171f8f11f

Fixes https://bugs.archlinux.org/task/23786

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-05-01 17:04:11 -03:00
Gerardo Exequiel Pozzi
13193bc0ba [syslinux-iso] Add dhclient to list of installed packages
Fix FS#23775

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-26 10:32:42 -03:00
Gerardo Exequiel Pozzi
a11bda752c [syslinux-iso] Change initramfs compression lzma -> xz
Needs mkinitcpio >= 0.6.9-1 (otherwise does not work with passed options to xz).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-26 10:32:42 -03:00
Charles Vejnar
d438c79a84 Removes incorrect quotes in automated_script 2011-04-26 10:31:58 -03:00