Commit Graph

208 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Simo Leone
b171f8f11f Make cmdline_param work and conform to rc.d layout
- Rename cmdline_param to kernel_cmdline
- Move to /etc/rc.d/functions.d where it belongs
2011-03-20 16:51:39 -03:00
Simo Leone
d812cc131e Start agetty on kernel cmdline-provided console
This makes interactive installations over serial consoles possible with
nothing more than specifying the console= kernel parameter.

Changed inittab id "s0" -> "z0" to avoid conflict with line ttyS0. (Gerardo)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-03-20 16:09:39 -03:00
Simo Leone
daf622d948 Archlinux FS#16232 - Run syslinux on serial too 2011-03-20 16:08:08 -03:00
Charles Vejnar
d53179b29d [syslinux-iso] Adding autologin on first shell
Added missing agetty ttyS0 in the patch. (Gerardo)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-03-20 16:06:30 -03:00
Dieter Plaetinck
be259ab3be support and encourage usage of new aif-report-issues.sh script 2010-12-19 21:03:19 -03:00
Dieter Plaetinck
d79e830d53 invoke aif with debugging and logging flags by default
these options have no real disadvantages, but can provide lots of
useful info when the user runs into trouble, which still happens enough
2010-12-19 21:03:13 -03:00
Dieter Plaetinck
ea989f5560 include btrfs utilities 2010-12-17 19:57:07 -03:00
Dieter Plaetinck
8e1b5b10cc include nilfs utilities 2010-12-17 19:56:30 -03:00
Gerardo Exequiel Pozzi
1635eacfe7 [syslinux-iso] Add support to squashfs compression types.
Just set the default gzip.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
85d2ddd762 Unify scheme of sed replacements.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
06a8c66eae [archiso] Add support to mount iso in loopback mode.
Add two parameters:

img_dev=/dev/sdNM
   where /dev/sdNM is the device where .iso is located.
img_loop=/path/to/arch.iso
   where /path/to/arch.iso is the full path of the .iso in the device img_dev.

Original idea from Baurzhan Muftakhidinov.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
cd73f7dfb1 [syslinux-cfg] Remove joe from packages.*
Is not anymore on repos.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
9629b849c5 [syslinux-iso] Unify dir scheme with -dual images
/syslinux/         syslinux only files
/arch/boot/        memtest86+ + splash.png + ...
/arch/boot/$ARCH/  Linux + initramfs
/arch/             isomounts
/arch/$ARCH/       *.sqfs

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
aae85f4ecb [syslinux-cfg] Adjust to work with new -D option of mkarchiso
This is how ISO will look now:
/syslinux    only syslinux related files (syslinux.cfg, *.c32, etc)
/arch/       isomounts + *.sqfs images
/arch/boot/  Linux + initramfs + Memtest86+ + other files for early boot stage

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-11-30 21:56:07 -03:00
Thomas Bächler
3d30349dee Remove occurrences of KERNEL from syslinux.cfg
syslinux's KERNEL command tries to autodetect the type of the kernel
by looking at the file's extension. This is unsafe, use the explicit
versions instead:
LINUX - for Linux kernels (memtest is booted like a Linux kernel, too)
COM32 - for COM32 modules
COMBOOT - for comboot modules (only poweroff.com right now)
See http://syslinux.zytor.com/wiki/index.php/SYSLINUX#KERNEL_file
2010-10-17 19:03:21 +02:00
Thomas Bächler
21595371bb Add new menu entry "Power off" 2010-10-17 18:59:46 +02:00
Gerardo Exequiel Pozzi
cc59ba29a0 [syslinux-iso] Add rsync to live-enviroment
Requested at FS#21040

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-10-09 13:50:15 -03:00