Commit 3fe7f04f authored by Rafael Monnerat's avatar Rafael Monnerat

obs/slapos: rebootstrap folder don't exist anymore.

parent f66e8ea6
......@@ -15,8 +15,6 @@ install: all
cp $(DESTDIR)/opt/slapos/bin/slapos $(DESTDIR)/usr/bin/
mkdir -p $(DESTDIR)/etc/opt/slapos/
mkdir -p $(DESTDIR)/etc/firewalld/
rm -rf $(DESTDIR)/opt/slapos/rebootstrap/parts/openssl
cp -R $(DESTDIR)/opt/slapos/parts/openssl $(DESTDIR)/opt/slapos/rebootstrap/parts/openssl
cp -R $(DESTDIR)/opt/slapos/parts/firewalld/etc/firewalld/* $(DESTDIR)/etc/firewalld/
mkdir -p $(DESTDIR)/opt/slapos/parts/dbus/var/run/dbus
clean:
......
......@@ -58,22 +58,15 @@ cleanup-build-stamp: build
$(BUILD_DIRECTORY)/parts/glib/share/gdb
rm -rf $(BUILD_DIRECTORY)/parts/ncurses/lib/terminfo
rm -rf $(BUILD_DIRECTORY)/rebootstrap/parts/ncurses/lib/terminfo
# Removing gettext archive tarball containing all versions
rm -fv $(BUILD_DIRECTORY)/parts/gettext/share/gettext/archive.dir.tar.gz
rm -fv $(BUILD_DIRECTORY)/rebootstrap/parts/gettext/share/gettext/archive.dir.tar.gz
# Removing documentations
find $(BUILD_DIRECTORY)/parts -regextype posix-extended -type d \
-iregex '.*/(gtk-)?(doc[s]?|man|info|test[s]?)$$' \
-prune -exec rm -rfv '{}' ';'
# Removing documentations
find $(BUILD_DIRECTORY)/rebootstrap/parts -regextype posix-extended -type d \
-iregex '.*/(gtk-)?(doc[s]?|man|info|test[s]?)$$' \
-prune -exec rm -rfv '{}' ';'
find $(BUILD_DIRECTORY) -regextype posix-extended -type f \
-iregex '.*(COPYING|LICENSE).*' -exec rm -f '{}' ';'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment