summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/hwinfo/hwinfo.build2
-rw-r--r--remote/modules/kdm/kdm.build2
-rw-r--r--remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.build6
-rw-r--r--remote/modules/ldm/ldm.build3
-rw-r--r--remote/modules/plymouth/plymouth.build5
-rw-r--r--remote/modules/policykit/policykit.build3
-rw-r--r--remote/modules/sshd/sshd.build1
-rw-r--r--remote/modules/systemd/systemd.build3
8 files changed, 3 insertions, 22 deletions
diff --git a/remote/modules/hwinfo/hwinfo.build b/remote/modules/hwinfo/hwinfo.build
index 383b8c2a..b2012a22 100644
--- a/remote/modules/hwinfo/hwinfo.build
+++ b/remote/modules/hwinfo/hwinfo.build
@@ -9,7 +9,7 @@ fetch_source() {
build() {
pdebug "Installing libx86emu in ${MODULE_DIR}/build..."
cd "${MODULE_DIR}/src/libx86emu"
- make || perror "libx86emu: make failed."
+ EXTRA_FLAGS="-I${MODULE_DIR}/src/libx86emu/include" make || perror "libx86emu: make failed."
DESTDIR="${MODULE_DIR}"/build make install || perror "libx86emu: make install failed."
cd - &> /dev/null
diff --git a/remote/modules/kdm/kdm.build b/remote/modules/kdm/kdm.build
index 88c47f6b..3a924380 100644
--- a/remote/modules/kdm/kdm.build
+++ b/remote/modules/kdm/kdm.build
@@ -14,8 +14,6 @@ build () {
}
post_copy() {
- # copy static kdm files to stage3.2
- cp -r ${MODULE_DIR}/data/* ${TARGET_BUILD_DIR}
#create static kdm folders in stage3.2
mkdir -p ${TARGET_BUILD_DIR}/var/lib/kdm
mkdir -p ${TARGET_BUILD_DIR}/var/run/kdm
diff --git a/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.build b/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.build
index 19adf66a..7f02e281 100644
--- a/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.build
+++ b/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.build
@@ -28,11 +28,7 @@ build () {
}
post_copy() {
- #copy static data files
- cp -r "${MODULE_DIR}/data/"* "${TARGET_BUILD_DIR}" || perror "Copying data/* failed."
- # TODO: FIX PATH TO TRIPLET...
- TRIPLET="$(basename "$(dirname "$(ldd "$SHELL" | grep libc | awk -F " " '{print $3}')")")"
- gdk-pixbuf-query-loaders > "${TARGET_BUILD_DIR}/usr/lib/${TRIPLET}/gdk-pixbuf-2.0/2.10.0/loaders.cache" || perror "pixbuf-query-loaders failed."
+ gdk-pixbuf-query-loaders > "${TARGET_BUILD_DIR}/usr/lib/${ARCH_TRIPLET}/gdk-pixbuf-2.0/2.10.0/loaders.cache" || perror "pixbuf-query-loaders failed."
mkdir -p "${TARGET_BUILD_DIR}/etc/pango" || perror "Making etc/pango failed."
pango-querymodules > "${TARGET_BUILD_DIR}/etc/pango/pango.modules" || perror "pango-querymodules failed."
gtk-update-icon-cache-3.0 "${TARGET_BUILD_DIR}/usr/share/icons/hicolor/" || perror "update-icon-cache-3.0 failed."
diff --git a/remote/modules/ldm/ldm.build b/remote/modules/ldm/ldm.build
index 88429cff..0e73148c 100644
--- a/remote/modules/ldm/ldm.build
+++ b/remote/modules/ldm/ldm.build
@@ -34,8 +34,5 @@ post_copy() {
local LDMGID=$(add_group "lightdm")
pinfo "lightdm user and group is $LDMUID $LDMGID"
chown -R "${LDMUID}:${LDMGID}" "${TARGET_BUILD_DIR}/var/lib/lightdm/" || perror "chowning '${TARGET_BUILD_DIR}/var/lib/lightdm/' failed."
- #copyi static data files
- cp -r "${MODULE_DIR}/data/"* "${TARGET_BUILD_DIR}" || perror "Copying data/ failed."
-
}
diff --git a/remote/modules/plymouth/plymouth.build b/remote/modules/plymouth/plymouth.build
index 4363e809..fbaa428a 100644
--- a/remote/modules/plymouth/plymouth.build
+++ b/remote/modules/plymouth/plymouth.build
@@ -20,8 +20,5 @@ build() {
}
post_copy() {
- # copy static dbus systemd unit files to stage3.2
- SYSTEMDDIR=${TARGET_BUILD_DIR}/etc/systemd/system
- [ ! -d ${SYSTEMDDIR} ] && mkdir -p ${SYSTEMDDIR}
- cp -r ${MODULE_DIR}/data/* ${TARGET_BUILD_DIR}
+ :
}
diff --git a/remote/modules/policykit/policykit.build b/remote/modules/policykit/policykit.build
index 6a03b81c..b6b70b7f 100644
--- a/remote/modules/policykit/policykit.build
+++ b/remote/modules/policykit/policykit.build
@@ -15,9 +15,6 @@ build () {
post_copy() {
- # copy static policykit files to stage3.2
- cp -r ${MODULE_BUILD_DIR}/data/* ${TARGET_BUILD_DIR}
-
#Add Polkit User/Group/Shadow to Stage3.2
pinfo "Adding polkitd user to target system..."
add_user "polkitd"
diff --git a/remote/modules/sshd/sshd.build b/remote/modules/sshd/sshd.build
index 57a9e35d..aa4241e6 100644
--- a/remote/modules/sshd/sshd.build
+++ b/remote/modules/sshd/sshd.build
@@ -15,5 +15,4 @@ build() {
post_copy() {
mkdir -p "${TARGET_BUILD_DIR}/var/run/sshd"
- cp -r "${MODULE_DIR}"/data/* "${TARGET_BUILD_DIR}"
}
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build
index 450e743b..bb58fc1c 100644
--- a/remote/modules/systemd/systemd.build
+++ b/remote/modules/systemd/systemd.build
@@ -32,9 +32,6 @@ build () {
}
post_copy() {
- # copy static data files
- cp -r "${MODULE_DIR}"/data/* "${TARGET_BUILD_DIR}" || perror "copying data files failed."
-
# dont clear systemd log at startup
sed -i.bak "s/TTYVTDisallocate=yes/TTYVTDisallocate=no/g" "${TARGET_BUILD_DIR}/usr/lib/systemd/system/getty@.service"