blob: 7012ebf1b14d765e95cc489daeb997172d5ff248 (
plain) (
tree)
|
|
#!/bin/bash
fetch_source() {
:
}
build() {
COPYLIST="list_dpkg_output"
rm -f -- "$COPYLIST"
mkdir -p "${MODULE_BUILD_DIR}/etc/udev/rules.d"
sed "s,%ETHTOOL%,$(which ethtool)," "${MODULE_DIR}/templates/99-enable-wol.rules" > "${MODULE_BUILD_DIR}/etc/udev/rules.d/99-enable-wol.rules" \
|| perror "Cannot write udev rule to enable WOL"
list_packet_files >> "$COPYLIST"
tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
}
post_copy() {
:
}
|