blob: 7f6d663f85d6a680a63c2fb8d07a457877a3d7ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
fetch_source() {
echo "Extracting from running system..."
}
build() {
COPYLIST="list_dpkg_output"
[ -e "${COPYLIST}" ] && rm "${COPYLIST}"
list_packet_files >> "${COPYLIST}"
tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
}
post_copy() {
# quick fix to get the unit files from the package
# moved them from lib/systemd to usr/lib/systemd
#cd "${BUILDDIR}"
#tarcopy lib/systemd "${TARGET_BUILD_DIR}"/usr
#cd - &> /dev/null
:
}
|