http://bugzilla.novell.com/show_bug.cgi?id=596490 http://bugzilla.novell.com/show_bug.cgi?id=596490#c0 Summary: mkinitrd_setup not triggered on change of scripts Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: i586 OS/Version: openSUSE 11.3 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: robin.knapp@ts.fujitsu.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 When modifying something in /lib/mkinitrd/{scripts,boot}, mkinitrd_setup is not called. Reproducible: Always Steps to Reproduce: 1. edit some file in /lib/mkinitrd/scripts 2. run mkinitrd Actual Results: mkinitrd_setup is not triggered Expected Results: you should see this output when running /sbin/mkinitrd: Scanning scripts ... Resolve dependencies ... Install symlinks in /lib/mkinitrd/setup ... Install symlinks in /lib/mkinitrd/boot ... Reason: in /sbin/mkinitrd: scripts_mtime=$( stat -c "%X" "$INITRD_PATH/scripts" ) setup_mtime=$( stat -c "%X" "$INITRD_PATH/setup" ) boot_mtime=$( stat -c "%X" "$INITRD_PATH/boot" ) But %X is atime and not mtime, %Y should be used here. Just verified that it works on my test system: # vi /lib/mkinitrd/scripts/boot-kms.sh :wq # mkinitrd -> mkinitrd_setup runs # mkinitrd #(2nd call) -> mkinitrd_setup does not run -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.