VirtualBox

Changeset 25204 in vbox


Ignore:
Timestamp:
Dec 4, 2009 8:01:25 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55685
Message:

Additions/linux/installer: remove some unneeded files and put copies of the init scripts under /usr/lib/VBoxGuestAdditions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r25084 r25204  
    137137
    138138VBOX_ADD_MOD.linux = \
    139         vboxadd-service.sh \
    140139        98vboxadd-xclient \
    141         vboxadd.sh \
    142         x11config-new.pl \
    143         routines.sh
     140        x11config-new.pl
    144141
    145142VBOX_ADD_STRIP_OBJ.linux = \
     
    183180        $(addprefix $(VBOX_LNX_ADD_INST_MOD_DIR),$(VBOX_LNX_ADD_STRIP_OBJ)) \
    184181        $(addprefix $(VBOX_LNX_ADD_INST_KMOD_DIR),$(VBOX_LNX_ADD_KMOD_VERSIONED)) \
    185         $(addprefix $(VBOX_LNX_ADD_INST_INIT_DIR),$(VBOX_LNX_ADD_INIT))
     182        $(addprefix $(VBOX_LNX_ADD_INST_INIT_DIR),$(VBOX_LNX_ADD_INIT)) \
     183        $(addprefix $(VBOX_LNX_ADD_INST_MOD_DIR),$(VBOX_LNX_ADD_INIT))
    186184
    187185VBOX_LNX_ADD_DBG_FILES := \
     
    281279        $(QUIET)cp -af $< $@
    282280
     281# pattern rule for copying the VBOX_LNX_ADD_INIT files to the module directory
     282$(addprefix $(VBOX_LNX_ADD_INST_MOD_DIR),$(VBOX_LNX_ADD_INIT)): \
     283                $(VBOX_LNX_ADD_INST_MOD_DIR)% : $(PATH_BIN)/additions/% | $$(dir $$@)
     284        $(call MSG_INST_FILE,$<,$@)
     285# Remove target directories first, otherwise the behaviour of cp will not be
     286# what we want if it already exists. See the cp manual page for more details.
     287        $(QUIET)$(RM) -Rf $@
     288        $(QUIET)cp -af $< $@
     289
    283290
    284291INSTALLS += GuestDrivers-src
     
    293300 lnx_add_inst-exec_MODE = a+rx,u+w
    294301 lnx_add_inst-exec_SOURCES = \
    295         $(VBOX_REL_LNX_ADD_INST)vboxadd-service.sh \
    296302        $(VBOX_REL_X11_ADD_INST)98vboxadd-xclient \
    297         $(VBOX_REL_LNX_ADD_INST)vboxadd.sh \
    298         $(VBOX_REL_X11_ADD_INST)x11config-new.pl \
    299         $(VBOX_REL_LNX_INST_SRC)routines.sh
     303        $(VBOX_REL_X11_ADD_INST)x11config-new.pl
    300304
    301305
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette