fli4l

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MERGE FFL-2476 (part 2/2)

(from /branches/4.0/trunk/src)

[57529] FFL-2476: Move shutdown script from /usr/sbin to /sbin [...]

[57530] FFL-2476: Fix path in comment of shutdown script [...]

[57533] FFL-2476: add option -h (a variant for poweroff) and long options tu shtdown warpper, the qemu-ga alwas calls /sbin/shutdown -h -P ...., correct file-mode for sbin/shutdown - must not executable on build-host

[57599] FFL-2476: shutdown: Ignore -h for now [...]

    • -0
    • +23
    /branches/4.0/testing/src/packages/base/opt/sbin/shutdown
MERGE FFL-2476 (part 1/2)

(from /branches/4.0/trunk/src)

[57527] FFL-2476: Add wrapper script 'shutdown' [...]

[57528] FFL-2476: Add /usr/sbin/shutdown to file lists [...]

FFL-870: package files updated due to rpi binary update, ref. r57607
    • -1
    • +1
    /branches/4.0/trunk/link/rpi/proxy.rev
    • -1
    • +1
    /branches/4.0/trunk/link/rpi/kernel_4_19.rev
FFL-870: package files updated due to sunxi binary update, ref. r57605
    • -1
    • +1
    /branches/4.0/trunk/link/sunxi/base.rev
    • -1
    • +1
    /branches/4.0/trunk/link/sunxi/kernel_4_19.rev
FFL-870: package files updated due to x86 binary update, ref. r57603
    • -1
    • +1
    /branches/4.0/trunk/link/x86/kernel_4_19.rev
    • -1
    • +1
    /branches/4.0/trunk/link/x86/proxy.rev
FFL-870: package files updated due to x86_64 binary update, ref. r57601
    • -1
    • +1
    /branches/4.0/trunk/link/x86_64/base.rev
    • -1
    • +1
    /branches/4.0/trunk/link/x86_64/hd.rev
FFL-2541: Updated Linux kernel to 4.19.97
  1. … 5 more files in changeset.
FFL-2476: shutdown: Ignore -h for now

With r57533 parameter handling was fixed to correctly react on what the

qemu-ga is sending, which is one of these:

- shutdown -h -P +0 hypervisor initiated shutdown

- shutdown -h -H +0 hypervisor initiated shutdown

- shutdown -h -r +0 hypervisor initiated shutdown

The manpage [1] however says this to -h:

“Equivalent to --poweroff, unless --halt is specified.”

So according to manpage, the combination of -h with -r is technically

not correct, -h could be used standalone with the implementation

deciding what to do and -h can be used with -P or -H, which also could

be used without -h … long story short: it's complicated and so would be

a script correctly handling all theses possibilities.

We opt for a simple solution for now and remove support for -h which

means we ignore it. A simple `shutdown -h` won't work, but with qemu-ga

being the main usecase for now, that's hopefully okay.

The problem with the previous approach is qemu-ga always sending -h,

which leads to this for example:

nixalsverdrus 4.0.0-r57535 # sh -x /sbin/shutdown -h -r +0 hypervisor initiated shutdown

+ [ -h ]

+ /sbin/poweroff

+ shift

+ [ -r ]

+ /sbin/reboot

+ shift

+ [ +0 ]

+ shift

+ [ hypervisor ]

+ shift

+ [ initiated ]

+ shift

+ [ shutdown ]

+ shift

+ [ ]

As you can see the script first calls /sbin/poweroff and because the

system does not poweroff instantly then also calls /sbin/reboot which

accidentally does the right thing. This depends on what busybox init

thinks how it should handle those, we were just lucky.

[1] https://manpages.debian.org/buster/systemd-sysv/shutdown.8.en.html

FFL-870: package files updated due to rpi binary update, ref. r57597
    • -1
    • +1
    /branches/4.0/testing/link/rpi/kernel_4_19.rev
    • -1
    • +1
    /branches/4.0/testing/link/rpi/base.rev
FFL-870: package files updated due to sunxi binary update, ref. r57595
    • -1
    • +1
    /branches/4.0/testing/link/sunxi/proxy.rev
    • -1
    • +1
    /branches/4.0/testing/link/sunxi/base.rev
FFL-870: package files updated due to x86 binary update, ref. r57593
    • -1
    • +1
    /branches/4.0/testing/link/x86/kernel_4_19.rev
    • -1
    • +1
    /branches/4.0/testing/link/x86/base.rev
FFL-870: package files updated due to x86_64 binary update, ref. r57591
    • -1
    • +1
    /branches/4.0/testing/link/x86_64/base.rev
    • -1
    • +1
    /branches/4.0/testing/link/x86_64/hd.rev
FFL-870: package files updated due to x86 binary update, ref. r57589
FFL-870: package files updated due to x86_64 binary update, ref. r57587
MERGE FFL-2540

(from /branches/4.0/trunk/src)

[57553] FFL-2540: Updated Linux kernel to 4.19.96

[57582] FFL-2540: Updated HW-Info for Linux kernel 4.19.96

  1. … 6 more files in changeset.
MERGE FFL-2539

(from /branches/4.0/trunk/src)

[57542] FFL-2539: Updated Linux kernel to 4.19.95

[57551] FFL-2539: Updated HW-Info for Linux kernel 4.19.95#

  1. … 24 more files in changeset.
MERGE FFL-2538

(from /branches/4.0/trunk/src)

[57552] MERGE FFL-2538 (record only) [...]

MERGE FFL-2538

(from /branches/3.10/trunk/src)

[57536] FFL-2538: Linux kernel updated to 3.16.81

[57541] FFL-2538: Updated HW-Info for Linux kernel 3.16.81

  1. … 7 more files in changeset.
FFL-2540: Updated HW-Info for Linux kernel 4.19.96
FFL-870: package files updated due to x86_64 binary update, ref. r57578
    • -1
    • +1
    /branches/3.10/stable/link/x86_64/firmware.rev
FFL-870: package files updated due to x86_64 binary update, ref. r57579
    • -1
    • +1
    /branches/4.0/stable/link/x86_64/base.rev
    • -1
    • +1
    /branches/4.0/stable/link/x86_64/firmware.rev
    • -1
    • +1
    /branches/4.0/stable/link/x86_64/hd.rev
FFL-870: package files updated due to rpi binary update, ref. r57576
    • -1
    • +1
    /branches/4.0/stable/link/rpi/firmware.rev
FFL-870: package files updated due to sunxi binary update, ref. r57574
    • -1
    • +1
    /branches/4.0/stable/link/sunxi/firmware.rev
FFL-870: package files updated due to x86 binary update, ref. r57572
    • -1
    • +1
    /branches/4.0/stable/link/x86/firmware.rev
FFL-870: package files updated due to x86 binary update, ref. r57570
    • -1
    • +1
    /branches/3.10/stable/link/x86/firmware.rev
    • -1
    • +1
    /branches/3.10/stable/link/x86/kernel_3_16.rev
MERGE FFL-2530

(from /branches/4.0/testing/src)

[57454] MERGE FFL-2530 [...]

MERGE FFL-2530

(from /branches/3.10/testing/src)

[57453] MERGE FFL-2530 [...]

MERGE FFL-2528

(from /branches/4.0/testing/src)

[57452] MERGE FFL-2528 [...]

MERGE FFL-2528

(from /branches/3.10/testing/src)

[57451] MERGE FFL-2528 [...]

  1. … 9 more files in changeset.
MERGE FFL-2524

(from /branches/4.0/testing/src)

[57403] MERGE FFL-2524 [...]