Commit Graph

370 Commits

Author SHA1 Message Date
Sisyphus
83fd161329 Revert "cdrom.c: fixed thinko breaking strlen"
This reverts commit c998c9b406.
2013-11-06 20:34:29 +04:00
George V. Kouryachy (Fr. Br. George)
d0b4901c14 20130821-alt1
- switch back to nfsmount (mount.nfs fails on NFSv3)
2013-08-21 17:30:56 +04:00
Anton V. Boyarshinov
b05b5734e2 20130716-alt1
- ext4 support added
2013-07-16 17:39:52 +04:00
Anton V. Boyarshinov
b5573f97da ext4 filesystem support added 2013-07-16 17:39:08 +04:00
Michael Shigorin
608fa90730 20130316-alt1
- cdrom: probe sda1 before sda (see also #28289)
2013-03-16 00:54:53 +04:00
Michael Shigorin
c998c9b406 cdrom.c: fixed thinko breaking strlen
The misoptimization of the final commit version resulted
in strlen operating on a 5 char too short string thus
delivering "device names" like "/de" and "/de1".

Thanks yet another late colleague :)
2013-03-16 00:54:46 +04:00
Led
4d66f07d59 cdrom: primarily try mount first partition of hybrid image 2013-03-15 21:35:49 +02:00
Michael Shigorin
467eace834 20130315-alt1
- complete the /bin/plymouth existence check started in 20101130-alt6
2013-02-21 13:55:17 +02:00
Michael Shigorin
96da0337a6 check for /bin/plymouth before trying to run it
Essentially finished what gfd2a83d started; this is to avoid
"/bin/plymouth: No such file or directory" spam all over the place
when "splash" boot parameter is present but plymouth itself is absent.
2013-02-21 13:55:17 +02:00
Anton V. Boyarshinov
69550f5813 20130314-alt1
- rewrite net devices probing
2013-02-14 17:09:12 +04:00
Anton V. Boyarshinov
bab88d61a1 dynamic interafaces names list 2013-02-14 17:08:46 +04:00
Anton V. Boyarshinov
90008346be changelog order fixed 2012-11-12 17:21:21 +04:00
Anton V. Boyarshinov
c31cb588f3 Merge remote-tracking branch 'gears/sisyphus' into sisyphus
Conflicts:
	propagator.spec
2012-11-09 15:53:54 +04:00
Anton V. Boyarshinov
6210be0ac2 20121109-alt1
- use /sbun/mount.nfs instead of /bin/nfsmount
2012-11-09 15:39:11 +04:00
Anton V. Boyarshinov
9f547f5cb8 20121002-alt1
- no more initfs
2012-11-09 14:17:14 +04:00
Anton V. Boyarshinov
f66a824ee9 deleted: mkinitfs 2012-11-09 14:15:27 +04:00
Michael Shigorin
9f1e60314f 20101130-alt20
- kmod-10 still does, remade the workaround as a longer term one
2012-10-15 15:41:06 +03:00
Michael Shigorin
fef70f8de8 mkmodpack: kmod-10 still wants binary deplist
Hope upstream will finally do something about that --
either document the behaviour or fix it.
2012-10-15 15:39:27 +03:00
Michael Shigorin
b0b284d83a 20101130-alt19
- modprobe suddenly wants modules.dep.bin to exist
2012-08-13 21:17:55 +03:00
Michael Shigorin
a2d8a0be62 mkmodpack: kmod-9 de facto requires modules.dep.bin
Here's the culprit:

open("/lib/modules/3.4.7-std-def-alt1/modules.dep.bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/modules/3.4.7-std-def-alt1/modules.dep.bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/modules/3.4.7-std-def-alt1/modules.alias.bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
exit_group(1) = ?
+++ exited with 1 +++
[root@builder .in]# ls -l /lib/modules/3.4.7-std-def-alt1/modules.dep*
-rw-r--r-- 1 root root 370664 Jul 29 18:20 /lib/modules/3.4.7-std-def-alt1/modules.dep

Here's the typical result for mkimage:

ERROR: could not open directory /tmp/mkmodpack.sWzMWshm9Z/lib/modules/3.4.7-std-def-alt1: No such file or directory
FATAL: could not search modules: No such file or directory
mkmodpack: Failed to create modules dependencies.
2012-08-13 21:17:55 +03:00
Anton V. Boyarshinov
971e5275fb 20101130-alt18
- modprobe --list changed to find
2012-08-10 15:17:28 +04:00
Anton V. Boyarshinov
a109bc3706 mkmodpack: modprobe --list changed to find 2012-08-10 15:17:23 +04:00
Mikhail Efremov
797bfeeda6 20101130-alt17
- init: Use devtmpfs for /dev if possible.
2012-05-28 19:37:05 +04:00
Mikhail Efremov
f3240f3f36 init: Use devtmpfs for /dev if possible.
If devtmpfs already mounted into /dev (see CONFIG_DEVTMPFS_MOUNT
kernel option) then do nothing.
Otherwise try to mount devtmpfs or tmpfs.
2012-05-28 19:36:14 +04:00
Michael Shigorin
19090fbacc 20101130-alt16
- added an Url:
- minor spec cleanup
2012-05-28 19:35:47 +04:00
Michael Shigorin
fddb0063f4 20101130-alt15
- rebuilt for Sisyphus
2012-03-12 16:21:36 +02:00
Mykola Grechukh
45f91426c2 20101130-alt14.hybrid1
- simplifed handling of hybrid disk images
2012-02-10 14:52:15 +00:00
Mykola Grechukh
6d837a25c6 In cdrom_prepare() do not overwrite media list by DISK medias. Instead,
make get_medias() report DISK too when asked for CDROM.
2012-02-10 14:18:48 +00:00
Mykola Grechukh
75416657d2 20101130-alt14
- support for xz compression in mkmodpack
2012-02-08 14:57:22 +00:00
Michael Shigorin
e62dfafded 20101130-alt13
- tweaked usb_storage wait to avoid the needlessly requisite one
2011-12-19 20:30:58 +02:00
Michael Shigorin
f697127807 probing.c: avoid extra dreaming of usb_storage
The initial intention was that at least one second
should pass before retesting for the insmod result
*but* that appears to be both unneeded and boring;
let's skip even an extra second if there's no need.
2011-12-19 20:10:52 +02:00
Michael Shigorin
7cd002b9b4 20101130-alt12
- fixed the fd leak introduced in previous release (thanks ldv@)
2011-12-16 20:26:55 +02:00
Michael Shigorin
04a8821b6e probing.c: fix just-introduced fd leak
usb_not_there() really should closedir() what it opendir()s...
thanks ldv@ for both paying attention and suggesting a fix.
2011-12-16 20:24:21 +02:00
Michael Shigorin
89417755c9 20101130-alt11
- reworked usb_storage wait to use ten second intervals
  instead of a ten second one
2011-12-16 18:06:25 +02:00
Michael Shigorin
8ed1a19660 probing.c: enhance usb_storage long wait
It's pretty silly to wait for 10 seconds at once
while not having ensured that the module is being
loaded indeed...

Thanks rom_as@ for pointing this out.
2011-12-16 18:03:42 +02:00
Michael Shigorin
3b1a03f8b0 20101130-alt10
- tweaked cdrom support to allow for isohybrid usbflash images too
  (loosely based on mandriva svn's implementation by cfergeau)
2011-12-16 12:29:28 +02:00
Michael Shigorin
a3a24b8891 cdrom.c: check if it's a hybrid iso on a flashdrive
The implementation is a rough port of
http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/drakx/trunk/mdk-stage1/cdrom.c?view=patch&r1=256657&r2=256656&pathrev=256657
taking into account the difference in underlying early userspace.
2011-12-16 12:27:46 +02:00
Anton V. Boyarshinov
5e3a8c51a3 20101130-alt9
- completely broken memory calculation code deleted: we are lucky
2011-06-10 15:43:42 +04:00
Anton V. Boyarshinov
3cb3cf2fe2 20101130-alt8
- run plymouth on tty5
2010-12-22 13:01:34 +03:00
Anton V. Boyarshinov
399cf6fe73 stage1.c: run plymouth on tty5 2010-12-22 11:23:17 +03:00
Anton V. Boyarshinov
f1b2c66c92 20101130-alt7
- tell plymouth to exit if automatic fails
2010-12-21 17:58:16 +03:00
Anton V. Boyarshinov
6e6f761864 tools.c: tell plymouth to quit if automatic fails 2010-12-21 17:56:50 +03:00
Anton Farygin
0f3ac02b31 20101130-alt6
- check /bin/plymouth before exec in init
2010-12-10 20:04:59 +00:00
Anton Farygin
fd2a83d725 check /bin/plymouth before exec 2010-12-10 19:58:22 +00:00
Sergey Bolshakov
e65ccbb240 20101130-alt5 released 2010-12-06 14:49:40 +03:00
Sergey Bolshakov
c6eefeb08c Merge remote branch 'rider/glibc' 2010-12-06 14:48:16 +03:00
Anton Farygin
63a060b19a 20101202-alt1
- disable plymouth if splash parameter not in cmdline
- removed nosplash command
2010-12-06 11:17:21 +00:00
Anton V. Boyarshinov
f9d1682589 Merge remote branch 'gears/sisyphus' into glibc
Conflicts:
	propagator.spec
2010-12-02 13:29:53 +03:00
Anton V. Boyarshinov
878e6f1088 20101130-alt3
- telling plymouth about rootfs change added
2010-12-02 13:05:12 +03:00
Anton Farygin
1e8818d6ff 20101130-alt3
- add nosplash command for disable plymouth
2010-12-01 16:10:02 +00:00