blob: b956f23ca9164eb3053f246161d8504288ba2d20 (
plain) (
tree)
|
|
#!/bin/bash
#tool/distro specific functions for fetching, building and installing dependencies
fetch_source () {
pinfo "Extracting from running system..."
}
build () {
local COPYLIST="$MODULE_WORK_DIR/list_dpkg_output"
list_packet_files > "$COPYLIST"
[ -n "$REQUIRED_DIR_STRUCT" ] && find $REQUIRED_DIR_STRUCT -type d >> "$COPYLIST"
tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
mkdir -p "$MODULE_BUILD_DIR/var/lib/polkit"
}
post_copy() {
#Add Polkit User/Group/Shadow to Stage3.2, required on opensuse
pinfo "Adding polkitd user to target system..."
add_user "polkitd"
}
|