Commit Graph

457 Commits

Author SHA1 Message Date
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
Gerardo Exequiel Pozzi
aaa2ae5452 Update TODO
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-18 14:11:39 -03:00
Gerardo Exequiel Pozzi
2b19df9f83 [syslinux-iso] Some fixes for automated_script
Fixes FS#23610

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-14 21:48:07 -03:00
Gerardo Exequiel Pozzi
c258897df3 [archiso2dual] Set default SquashFS compressor to XZ
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-11 10:55:21 -03:00
Gerardo Exequiel Pozzi
4ea8b93f9c [syslinux-iso] Set default SquashFS compressor to XZ
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-11 10:27:07 -03:00
Gerardo Exequiel Pozzi
54be7d1529 [archiso] Set default SquashFS compressor to XZ
Also change all references from lzma to xz format.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-11 10:25:37 -03:00
Gerardo Exequiel Pozzi
ce31b12654 [syslinux-iso] update download-repo.sh to download propertly db for pacman-3.5
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-04-08 22:14:27 -03:00
Charles
5bb9b1620a Move automated_script from /etc/functions.d to /etc/rc.d/functions.d 2011-04-01 14:31:53 -03:00
Charles Vejnar
76061c8c7d [syslinux-iso] Allow to execute a script at boot specified with the kernel boot parameters
Changed to work with recent cmdline_param() -> kernel_cmdline() change. (Gerardo)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-03-20 17:03:37 -03:00
Simo Leone
6eed465138 rc.conf uses renamed/moved kernel cmdline parser 2011-03-20 16:52:01 -03:00
Simo Leone
8ee0dd8c39 Remove dead code from archiso rc.d scripts 2011-03-20 16:51:50 -03:00