Commit Graph

458 Commits

Author SHA1 Message Date
Gerardo Exequiel Pozzi
3f39d91541 Fix typo in previus commit
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 01:00:49 -03:00
Gerardo Exequiel Pozzi
35c26e7c8b Remove old memtest* files and use memtest86+ from installed packages
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 00:42:26 -03:00
Gerardo Exequiel Pozzi
a96be62fdc Fix a identation on README
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-17 21:34:47 -03:00
Gerardo Exequiel Pozzi
38d828f749 Only lock the optical drive if mounted from this
Check if FSTYPE is iso9660 or UDF, and only in this case look the optical drive.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-17 02:57:51 -03:00
Gerardo Exequiel Pozzi
ed97ef03a4 Rename ramdisk_size parameter to tmpfs_size to avoid conflict
Rename ramdisk_size parameter to tmpfs_size to avoid conflict with
the kernel parameter that is for old ramdisk based blockdevs (/dev/ramN)
and confusion to users.

The kernel parameter ramdisk_size=N is in "N * k size", while tmpfs
size=N is in "N * [ k | m | g ] byte size" or "in N% of RAM",
like is used by default on archiso.

This parameter is used only for tmpfs in size option.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-17 00:48:26 -03:00
Gerardo Exequiel Pozzi
e87ffdfa3c Add a default install-iso/overlay/etc/hosts with archiso alias
With this add if some program is started and query about hostname,
no annoying delay of ~10 seconds will occur.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-11 00:27:02 -03:00
Gerardo Exequiel Pozzi
f32a5c5b20 Avoid force/rebuild of squashfs images if already updated.
Check if there are any modification of files/directories inside
the target directory for squashfs image.

Implements in some way this item in TODO:
* Add 'needsupdate' function to check if a squashfs image in the
  iso dir is up to date, if so, skip it; else rebuild it. No more
  need for the -f flag

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-09 21:41:13 -03:00
Gerardo Exequiel Pozzi
3f1ee07d84 Support custom isomounts in archiso hook.
Implement this feature request:
FS#16835 - isomounts file whithin archiso hook is inflexible

Add an optional "isomounts" kernel command line parameter.
In this way, can have differents combinations of
kernels/ramdisk/filesystems.sqfs on the same media.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-26 02:02:59 -03:00
Gerardo Exequiel Pozzi
6964b13d80 Updated archiso/configs/xfce4/packages.list
The current list is a bit old, just update to match current
package names. Removing old packages, some renames, and add some
new wireless firmwares.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-21 19:25:39 -03:00
Gerardo Exequiel Pozzi
7dd1aa150d Fix small typo in install/archiso for initcpio
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-21 03:22:39 -03:00
Gerardo Exequiel Pozzi
db1dde541c Fix how mkarchiso makes usb image
The current implementation in how partition is created for ext2 img
it looks a bit bad.

This patch makes the partition in more standarized way, respecting
cylinder alignement:
* The size of resulting image will be in cylinder multiple ~8MB.
* Use fdisk instead of sfdisk (sfdisk write some bad information)
* Make the result image in one pass, instead of concatenating.

Also the advantage is that with this can add another partitions
without any issues in the usb-flash-drive with this .img.

For example of current situation:

qemu-system-x86_64 -hda archlinux-avr.toolchain.img -serial stdio
---------------------------------------------------------------------
[root@avr ~]# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 223 MB, 223974400 bytes
59 heads, 41 sectors/track, 180 cylinders
Units = cylinders of 2419 * 512 = 1238528 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         181      218693+  83  Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 1, 23)
Partition 1 has different physical/logical endings:
     phys=(27, 58, 41) logical=(180, 49, 21)

Command (m for help): v
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 1, 23)
Partition 1 has different physical/logical endings:
     phys=(27, 58, 41) logical=(180, 49, 21)
Partition 1: previous sectors 437449 disagrees with total 67731
62 unallocated 512-byte sectors

Command (m for help):
---------------------------------------------------------------------

qemu-system-x86_64 -hda archlinux-avr.toolchain-fix.img -serial stdio
---------------------------------------------------------------------
[root@avr ~]# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 230 MB, 230307840 bytes
255 heads, 63 sectors/track, 28 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c94ca4f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          28      224878+  83  Linux

Command (m for help): v
62 unallocated 512-byte sectors
---------------------------------------------------------------------

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-21 00:46:39 -03:00
Gerardo Exequiel Pozzi
c801829c61 Add aufs2 package to list of packages to install.
aufs2 module is now splited from kernel26-2.6.31-ARCH.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-20 01:05:42 -03:00
Gerardo Exequiel Pozzi
7aa5e83653 Update authentication databases for configs/xfce4/overlay/etc
Updated entries to match passwd/shadow/group/gshadow(*) auth db from
svn trunk filesystem package.

(*) A correct gshadow file is add matching group file.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-20 00:27:44 -03:00
Gerardo Exequiel Pozzi
cf3458f17b Update authentication databases for "overlay" install-iso
Updated entries to match passwd/shadow/group/gshadow(*) auth db from
svn trunk filesystem package.

(*) A correct gshadow file is add matching group file.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-20 00:22:05 -03:00
Gerardo Exequiel Pozzi
25a8ef823a Add missing "done" keyword for "for" in rc.d/archiso
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-17 20:44:27 -03:00
Gerardo Exequiel Pozzi
fc0f752561 Update pacman.conf overlay to match new config from 3.3.2
Trivial change: just update comments, and add community-testing repo.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-17 20:37:13 -03:00
Gerardo Exequiel Pozzi
0edf2119c2 Add pwgen as dependency for archiso in documentation
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-07 08:54:44 -07:00
Gerardo Exequiel Pozzi
cdec1a38d9 Fix a few remaining unionfs -> aufs
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-07 08:54:25 -07:00
Gerardo Exequiel Pozzi
ed2395a609 Fix etc/group overlay sample entries.
Just add an "x" to fix:
FS#15707 - [filesystem] New grpck barks on gshadow

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-07 08:54:04 -07:00
chandan
195521a185 Look into cache before fetching the pkg remotely.
The script download-rep.sh in config/install-iso should first check if a package
is present in local pacman cache before downloading it with wget.

[Aaron: Added missing 'then' on added if statement]
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-01 09:29:41 -07:00
Christopher Brannon
bbc0f720c5 Create directory in overlay when building ISO.
Git doesn't track empty directories, so there is no
configs/install-iso/overlay/pacman.d/ directory when one clones the
archiso project.  This causes "make <IMAGENAME>" to fail when
wget tries to fetch the mirrorlist.  The fix is to make the directory
just before calling wget.

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-25 11:35:27 -07:00
Gerhard Brauer
fd93e7c9bd Added vfat support to mount /dev/archiso
fstype from klibc don't detect a vfat formatted blockdevice when try to
mount /dev/archiso to /bootmnt. Some users don't use the recommened
method with dd to bring the image to their USB stick. If they for ex.
use Unetbootin to put the iso image on their (v)fat formatted stick they
got lost with a kernel panic cause fstype won't detect vfat, so the
mount and the later squashfs bindings traps.

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
2009-08-25 15:54:10 +02:00
Aaron Griffin
1dbbd6afcb Fix mount loop test for bindings
test -f will fail if we wanted to bind to a directory,
so use test -r instead.

See FS#15356

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-10 12:05:15 -07:00
Aaron Griffin
2aca746d58 Ensure bootmnt is bound properly into device root
Missing slash caused bootmnt to be bound to /real_rootbootmnt
instead of /real_root/bootmnt

See FS#15356

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-10 12:03:25 -07:00
Gerhard Brauer
34af723fab Packages list changes and added pcmcia hook
* Removed unused packages from i686 list (intel binary blob modules)
* Added b43-fwcutter to both
* Added iwlwifi-5150-ucode to both

* Added pcmcia hook zu mkinitcpio files

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:39 -07:00
Gerhard Brauer
f736e19d1e Rename ftp naming to netinstall
Modified all references from old ftp-iso/-img to netinstall.
This will fix FeatureRequest FS#14587

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:38 -07:00
Gerhard Brauer
8d57752ced Use a label when generating the image and pass it to the commandline
This will generate a label ARCHISO_$randomstring using the pwgen
utility and add this label to the kernel command line.
A new label will be generated for each image, so it can be uniquely
identified.
Patch from brain0 <thomas@archlinux.org>

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:38 -07:00
Gerhard Brauer
9794a6fb7c Use the archisolabel= command line option to mount the archiso device.
If the archisolabel= option is specified on the kernel commandline,
a device /dev/archiso will be created and will be used to boot the
live system.
Patch from brain0 <thomas@archlinux.org>

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:38 -07:00
Gerhard Brauer
73dc6b4b1b Enabled -C option in mkarchiso
This flag allows to specify a own pacman.conf using during mkarchiso.

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:38 -07:00
Gerhard Brauer
742995e060 Remove localtime from overlay rc.conf
We preset HARDWARECLOCK with localtime if the user doesn't set this via
cmdline. But this preset misaligned the BIOS clock if on UTC and the
user select this correctly during aif->date/time-setting.
This is in relation to FS#15263
Again: There is no need in LiveCD environment to modify BIOS clock
during shutdown.
Having this set per default to localtime rc.shutdown sources rc.conf and
so localtime is badly used. And worked against the meaning of above
flyspray report.
(Thanks fs4000, for point me on that)

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:38 -07:00
Gerhard Brauer
90ac2f5dd9 Let the mirrorlist in overlay generate dynamically
Removed mirrorlist file from overlay and modified Makefile to fetch
the file dynamically on iso creation (Thanks, Dan!)

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:37 -07:00
Gerhard Brauer
952fa35398 Modified packages.list and handling
* Added ntp to packages list (Both ARCHes)
* Modified Makefile to parse the CARCH related packages.$ARCH
  We need different lists cause not all packages exist for both arches.
  And it's bad to edit in the packages.list each build.

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:37 -07:00
Gerhard Brauer
333dd4b4ba Modified setup for aif
Added a script to overlay which call aif's interactiv procedure when
/arch/setup is started. Also removed old arch-installer from
packages.list

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:37 -07:00
Gerhard Brauer
72e600ce89 Revert "Fixed mirrorlist in ISO overlay"
This reverts commit 645484230e.

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-27 11:03:37 -07:00
Gerhard Brauer
645484230e Fixed mirrorlist in ISO overlay
We had a few typos in overlay/etc/pacman.d/mirrorlist.
Also upated to the last mirrorlist data file.

This will fix FS#13970.

Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-29 10:35:25 -07:00
Gerhard Brauer
d49b3da829 Fix mkisofs quiet parameter
Option syntax for quiet mode in mkisofs has changed

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-29 10:34:02 -07:00
Aaron Griffin
0d167e5b82 Update packages.list
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-29 10:28:51 -07:00
Sven-Hendrik Haase
6be0f68611 Fix a typo in the archiso hook
remount,append=: should be remount,append:

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-12 07:28:57 -07:00
Aaron Griffin
d3cb36a83d Typo: aufs2-utils -> aufs2-util
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-09 13:28:42 -07:00
Sven-Hendrik Haase
da5452723e Updated deps, Makefile, TODO
Done to better reflect and indicate current progress.

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-08 14:32:06 -07:00
Aaron Griffin
71d8575fae Replace aufs 'add' with 'append'
Change via AUR package

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-08 12:36:28 -07:00
Aaron Griffin
c9e6ca7366 install-iso: replace utils, unionfs -> aufs2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-08 12:34:00 -07:00
Aaron Griffin
91fb1fef4f Missed aufs module in mkinitcpio install script
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-04-17 09:19:15 -07:00
Aaron Griffin
8d10415b04 Replace unionfs with aufs
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-04-14 14:38:11 -05:00
Aaron Griffin
31c277e575 Replace 'km' with a call to AIF's partial keymap
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-10 14:14:35 -07:00
Aaron Griffin
28deaee0f0 Add usbinput hook for usb keyboards
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-03 10:20:52 -08:00
Aaron Griffin
843689273f Change everything to say 2009.02
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-16 13:52:12 -05:00
Aaron Griffin
8e76b03ba7 Accidentally removed the intel-XXX packages
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-16 10:10:04 -08:00
Aaron Griffin
5980b62d4b Add joe as an alternative editor
Some people like joe. Weirdos! :)

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-16 10:08:39 -08:00
Aaron Griffin
4ce72292bc Instructions: Fix install guide URL
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-16 09:58:18 -08:00