Debian Codegraph @

kernel/postinst.d/00-legacy-boot

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # SPDX-License-Identifier: GPL-2.0
3 set -eu
4
5 version=$1
6 image=$2
7
8 set -- $DEB_MAINT_PARAMS
9
10 if [scip-shell system . . `[`. "$1" = configure ]; then
11 image_input=/usr/lib/modules/${version}/vmlinuz
12 if [scip-shell system . . `[`. -e "$image_input" ]; then
13 cpscip-shell system . . cp. -l "$image_input" "$image" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || cpscip-shell system . . cp. -p "$image_input" "$image"
14 fi
15 fi