Commit Graph

380 Commits

Author SHA1 Message Date
Thomas Bächler
13c541e8a6 Do not unset archisobasedir when it's set
This was wrong and can never have worked. Fix it.
2010-10-17 16:35:27 +02:00
Gerardo Exequiel Pozzi
24885e4c81 [archiso] Update nbd hook to match newer nbd operation mode.
Newer nbd-server uses config file instead of parameters via cmd line (deprecated).
Also does not use a fixed port (oldstyle).

Sample nbd-server.conf that works with this change:

-- CUT HERE --
[generic]
[archiso]
    readonly = true
    exportname = /tmp/archlinux.iso
-- CUT HERE --

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-10-12 01:33:04 -03: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
Gerardo Exequiel Pozzi
b1e179c71a Add hdparm to installed packages on live-env
Some modern HDD come with agressive APM settings by default,
not only "green ready" drive also "high end" drives.

Adding hdparm so users can change/disable hdd settings (mostly -B -S -M).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-09-16 16:55:43 +02:00
Gerardo Exequiel Pozzi
16422ba3b6 Do not copy host configuration to root-image
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-09-16 16:55:38 +02:00
Gerardo Exequiel Pozzi
6a685859ad [syslinux-iso] Remove redundant package from list
linux-firmware is already installed as dep of kernel26

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-08-25 03:00:30 -03:00
Thomas Bächler
86ca33e76d Rename all occurrences of isolinux to syslinux
The name of the bootloader is syslinux, while isolinux is just one
of many components. isolinux.bin now also accepts syslinux.cfg
as a configuration file name (as do all other loaders).

Thus, rename the isolinux/ folder to syslinux/, and rename
isolinux.cfg to syslinux.cfg. The only occurrence of 'isolinux'
is now the actual loader file 'isolinux.bin'. This makes
the transition from isolinux to the other syslinux loaders
easier when remastering the ISO onto another medium.
2010-07-22 00:04:46 +02:00
Thomas Bächler
deffe0fba9 Remove x86test
The upstream URL is dead and there seems to be no other source
or information on this tool. Thus, drop it
2010-07-21 23:56:25 +02:00
Thomas Bächler
3c7340c6aa Add HDT to the boot menu
HDT is a hardware detection/info tool. It will show information about your hardware,
including PCI devices. It will also show the names of the kernel modules that will
support your devices.
2010-07-21 23:54:05 +02:00
Gerardo Exequiel Pozzi
7725dba216 [archiso_pxe_nbd] Remove unneeded umount commands
This step is now done at archiso hook (commit 1fc3a61b75)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-13 21:40:49 -03:00
Gerardo Exequiel Pozzi
120dda2494 [archiso2dual] Also copy gpxelinux.0
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-09 22:04:04 -03:00
Gerardo Exequiel Pozzi
7a71865e0a [archiso2dual] Check if is a core.iso before exec core_* functions
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-09 18:51:52 -03:00
Gerardo Exequiel Pozzi
6adf48d06b Call launch_interactive_shell in more cases of error.
A shell prompt is at least better than a kernel panic :)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-09 16:46:29 -03:00
Gerardo Exequiel Pozzi
1bbeeb0e5b Rename directories and parameteres to be more descriptive
* squashfs images that will be part of read-only branchs for union mount in /
  are mounted on /ro_branch/{image_name} instead of /tmpfs/mnt/{image_name}
  (and avoid empty dirs on live env under /mnt)
* tmpfs that will be part of read-write branch for union mount in /
  is mounted on /rw_branch instead of /tmpfs
* tmpfs that is for store *.sqfs images when copytoram=y, is mounted on
  /copytoram instead of /tmpfs.sqfs

* tmpfs_size= parameter renamed to rw_branch_size=
* tmpfs_sqfs_size= parameter renamed to copytoram_size=

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-09 16:14:55 -03:00
Gerardo Exequiel Pozzi
9154b02881 First mount ${archisodevice} before other mounts
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-09 15:36:51 -03:00
Gerardo Exequiel Pozzi
1fc3a61b75 archiso hook: umount /bootmnt if copytoram=y
More generic way than current method, and fix if logic (inverted).
Takes the same actions independent of medium (disk/cdrom).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-08 03:44:43 -03:00
Gerardo Exequiel Pozzi
1d9d75beb4 Mount tmpfs filesystems with mode=0755
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-05 19:36:11 -03:00
Gerardo Exequiel Pozzi
47dd70f3b5 [syslinux-iso] Update URL of mirrorlist matching new archweb change
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-02 22:43:22 -03:00
Gerardo Exequiel Pozzi
cf0e1cfc82 [archiso2dual] Add support split-out any from core-pkgs.sqfs
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-02 19:47:48 -03:00
Gerardo Exequiel Pozzi
24da89efc9 Mount core-pkgs.sqfs in / => appending to aufs stack
Allows split-out "any" packages in a simple way, then mounting
it as union layer.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-02 18:56:09 -03:00
Gerardo Exequiel Pozzi
1114731c28 [archiso] Rewrite cleanup step in mkarchiso
Currently works partially since in bash "*" is not expanded.
Old dirs removed, always empty dirs removed from list.
Also cleanup sync databases from pacman 3.4.0, avoiding problems with
pacman -Sy since "sync" directory is deleted.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-30 00:16:34 -03:00
Gerardo Exequiel Pozzi
6a0333c955 Improved testiso to allow differents scenarios
A quick & dirty changes to test iso withs differents combinations of
I={virtio,scsi,ide} x M={disk,cdrom}

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-29 02:58:55 -03:00
Gerardo Exequiel Pozzi
3e773f1c72 update TODO, old entries removed
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-29 00:42:43 -03:00
Gerardo Exequiel Pozzi
95ae7823bd [syslinux-iso] Update instructions file
Copied from http://www.archlinux.org/iso/2010.05/README

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-29 00:26:25 -03:00
Gerardo Exequiel Pozzi
3be4092fe3 [syslinux-iso] Fix typo in rc.conf for CONSOLEMAP
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-29 00:18:14 -03:00
Gerardo Exequiel Pozzi
383fcb596f [syslinux-iso] download-repo.sh only download packages from specified repo
Fixes FS#18733 http://bugs.archlinux.org/task/18733

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:51:19 -03:00
Gerardo Exequiel Pozzi
9be04c4b41 [syslinux-iso] Also copy gpxelinux.0 to isolinux dir
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:45:36 -03:00
Gerardo Exequiel Pozzi
f62c58bce6 [syslinux-iso] create root-image tree in two steps
First install {base} group, then install rest of packages listed
at in packages file.
In this way, ensure a fully base system installed first,
avoinding errors from install scriptlets of rest of packages.

(currently there is no issue with packages listed on packages files,
but if some add more packages to customize the iso will see errors)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:24:34 -03:00
Gerardo Exequiel Pozzi
aad0623a03 [syslinux-iso] Update to latest pacman.conf in overlay tree
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:15:18 -03:00
Thomas Bächler
4b64f2db74 Add support for booting from memdisk
This requires mkinitcpio 0.6.7 or later, as well as syslinux 4.00pre56
or later. See http://syslinux.zytor.com/wiki/index.php/MEMDISK
2010-06-23 10:11:00 +02:00
Thomas Bächler
3dc83c40e0 [syslinux-iso] Add more wireless support on the image
This adds crda, wpa_actiond and netcfg, so we can use
net-auto-wireless mode on the ISO.
2010-06-23 10:04:39 +02:00
Gerardo Exequiel Pozzi
f0aba9b876 Make it compatible with latest mkinitcpio.
Latest init script mounts a /dev FS, so /dev/loop0 will disappear.
Create loop0 on /lib/udev/devices so udev copy to /dev on startup.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-23 10:03:14 +02:00
Gerardo Exequiel Pozzi
63c60ff0b6 update package list (linux-firmware)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-23 10:03:09 +02:00
Gerardo Exequiel Pozzi
210cd35dcc Comment IPAPPEND option and add comment about usage.
IPAPPEND option is only used by PXELINUX.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-23 10:03:04 +02:00
Thomas Bächler
558eaafe9f Add optional command line parameter: archisobasedir
When remastering the image onto a USB volume, you might want to reuse
an existing partition without filling the root with lots of archiso
files. The archisobasedir parameter allows to specify a new root
directory, isomounts and all images will be searched in this directory.
2010-06-04 22:37:51 +02:00
Thomas Bächler
aeaec35905 archiso_pxe_nbd: Remove unnecessary/unsupported network modules
The archiso_pxe_nbd hook adds all network modules, including ones that
are not supported: The hook only supports ethernet devices, so there
is no need to add wireless, wimax, ppp, irda and plip modules.

Adding the wireless modules had an undesired side effect: The
wireless driver was loaded in the initramfs stage, where the
required crypto modules were unavailable. This caused the
initialization of the wireless devices to fail.

This patch removes all network modules except ethernet.
2010-05-16 11:29:15 +02:00
Thomas Bächler
e7d88f5237 archiso: Support booting from a virtio CD drive 2010-05-09 13:51:59 +02:00
Christopher Brannon
a457608083 Add dialog to the package lists.
dialog is no longer in the base group, but it needs to be included on
the CD for AIF.

Signed-off-by: Christopher Brannon <cmbrannon79@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2010-04-27 08:05:13 -07:00
Gerardo Exequiel Pozzi
43246f26cb Remove a non-working boot option: "Boot normally".
See FS#19228 for details.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-25 15:29:39 -03:00
Gerardo Exequiel Pozzi
42604e2fba [archiso2dual] Use one isomounts file for both architectures
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-25 13:53:57 -03:00
Gerardo Exequiel Pozzi
f86839392d [archiso2dual] Remove support for booting 64 bit kernel with 32 userspace
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-25 13:49:00 -03:00
Gerardo Exequiel Pozzi
965e98b556 [archiso2dual] Update image sizes in README
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-24 14:32:02 -03:00
Gerardo Exequiel Pozzi
180d9b1cc5 [archiso2dual] Refactor the code
Notable changes:
* -R option added. Used to specify a file with a list of files or directories
     to remove from root-image.sqfs. This option only works with -T full.
     A list of files/directories that will be removed is printed.
* -T purge_us profile removed, now is managed via -R option.

* Profiles looks now:
  -T <profile>     Type of target image (work is done on root-image.sqfs):
         basic:    join both images, no changes in root-image
         split:    'basic' + split out usr/share/ and lib/modules/ from root-image
         full:     'split' + remove specified directories (with -R) from root-image

* Code is now a bit small made by some refactions.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-23 23:07:51 -03:00
Gerardo Exequiel Pozzi
de4c11c56c [archiso2dual] Join split_us and split_lm in one split option.
To avoid confusion, since we always like to split these both directories
(/usr/share and /lib/modules).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-23 21:33:20 -03:00
Gerardo Exequiel Pozzi
3311f176a0 Mount "usr/share" and "lib/modules" in aufs stack instead of bind mount.
Otherwise these paths are read-only.

Fixes FS#19149

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-20 21:13:55 -03:00
Gerardo Exequiel Pozzi
e684241e0e Revert back isohybrid offset to default setting.
This revert back the commit 991a5c69.
This causes more problems than solving (fixing the warning issue in parted)

With the default offset 0:
* makes posibble to create others extra partitions on USB key
  and use them inside the live enviroment.
* makes posible to use /dev/disk/by-label/ symlinks.
  archiso_early hook, can be removed.

Note: archboot also uses the default offset 0.

More info at:
http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000912.html
http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000890.html

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-22 19:00:23 -03:00
Gerardo Exequiel Pozzi
fa546a0ca4 [syslinux-iso] Remove archiso-pxe-server and dnsmasq dependency.
This script can be part of the wiki, or in another package/project.
(See Dieter comment at FS#12619)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-21 20:24:59 -03:00
Gerardo Exequiel Pozzi
a4d875288c [syslinux-iso] archiso-pxe-server set IPAPPEND to 3.
In this way also BOOTIF= parameter is added to command line apart of ip=

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-21 19:56:04 -03:00
Gerardo Exequiel Pozzi
a60a68eb88 [archiso] Add support to setups with more than one network card.
Otherwise archiso_pxe_nbd hook can configure the incorrect network card,
because ipconfig will configure all interfaces available.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-21 18:51:37 -03:00
Gerardo Exequiel Pozzi
9db3b52dda [archiso2dual] Fix install dir perms 644 -> 755 in Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-21 16:42:14 -03:00