Changeset 91847 in vbox for trunk/src/VBox/Installer/linux/debian/rules
- Timestamp:
- Oct 19, 2021 6:06:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/debian/rules
r91846 r91847 181 181 for d in $(wildcard /lib/modules/*); do \ 182 182 if [ -L $$d/build ]; then \ 183 184 185 186 187 188 189 190 191 192 193 194 183 make -C $(builddir)/bin/src/vboxdrv KERN_VER=$$(basename $$d) clean && \ 184 make -C $(builddir)/bin/src/vboxdrv KBUILD_VERBOSE= KERN_VER=$$(basename $$d) all; \ 185 make -C $(builddir)/bin/src/vboxnetflt KERN_VER=$$(basename $$d) clean && \ 186 (cp $(builddir)/bin/src/vboxdrv/Module.symvers $(builddir)/bin/src/vboxnetflt || true) && \ 187 make -C $(builddir)/bin/src/vboxnetflt KBUILD_VERBOSE= KERN_VER=$$(basename $$d) KBUILD_EXTRA_SYMBOLS=$(builddir)/bin/src/vboxnetflt/Module.symvers all; \ 188 make -C $(builddir)/bin/src/vboxnetadp KERN_VER=$$(basename $$d) clean && \ 189 (cp $(builddir)/bin/src/vboxdrv/Module.symvers $(builddir)/bin/src/vboxnetadp || true) && \ 190 make -C $(builddir)/bin/src/vboxnetadp KBUILD_VERBOSE= KERN_VER=$$(basename $$d) KBUILD_EXTRA_SYMBOLS=$(builddir)/bin/src/vboxnetadp/Module.symvers all; \ 191 [ -d $(builddir)/bin/src/vboxpci ] && make -C $(builddir)/bin/src/vboxpci KERN_VER=$$(basename $$d) clean && \ 192 (cp $(builddir)/bin/src/vboxdrv/Module.symvers $(builddir)/bin/src/vboxpci || true) && \ 193 make -C $(builddir)/bin/src/vboxpci KBUILD_VERBOSE= KERN_VER=$$(basename $$d) KBUILD_EXTRA_SYMBOLS=$(builddir)/bin/src/vboxpci/Module.symvers all; \ 194 true; \ 195 195 fi; \ 196 196 done … … 233 233 $(if $(NOQT),,mv $(archdir)/virtualbox.desktop \ 234 234 $(prefix)/usr/share/applications/virtualbox.desktop) 235 $(if $(NOQT),,mv $(archdir)/virtualboxvm.desktop \236 $(prefix)/usr/share/applications/virtualboxvm.desktop)237 235 install -d -g 0 -o 0 $(prefix)/usr/share/pixmaps 238 236 $(if $(NOQT),,install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor) … … 242 240 $(if $(NOQT),,cd $(archdir)/icons; for i in *; do \ 243 241 for j in $$i/virtualbox.*; do \ 244 245 246 247 248 249 242 if [ -f $$j ]; then \ 243 if [ ! -d $(prefix)/usr/share/icons/hicolor/$$i/apps ]; then \ 244 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/apps; \ 245 fi; \ 246 mv $$j $(prefix)/usr/share/icons/hicolor/$$i/apps; \ 247 fi; \ 250 248 done; \ 251 249 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/mimetypes; \ … … 272 270 $(if $(NOMODS),,for d in $(moddir)/*; do \ 273 271 if [ -f $$d/vboxdrv.ko -a -f $$d/vboxnetflt.ko -a -f $$d/vboxnetadp.ko ]; then \ 274 272 install -D -g 0 -o 0 -m 0644 \ 275 273 $$d/vboxdrv.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxdrv.ko; \ 276 274 install -D -g 0 -o 0 -m 0644 \ 277 275 $$d/vboxnetflt.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxnetflt.ko; \ 278 276 install -D -g 0 -o 0 -m 0644 \ 279 277 $$d/vboxnetadp.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxnetadp.ko; \ 280 281 282 283 278 if [ -f $$d/vboxpci.ko ]; then \ 279 install -D -g 0 -o 0 -m 0644 \ 280 $$d/vboxpci.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxpci.ko; \ 281 fi \ 284 282 fi \ 285 283 done) … … 291 289 if [ -f $(prefix)/usr/lib/$(package)/libQt5CoreVBox.so.5 ]; then \ 292 290 $(vboxroot)/tools/linux.$(chrarch)/bin/chrpath \ 293 294 295 296 297 298 299 291 --keepgoing --replace /usr/lib/$(package) \ 292 $(prefix)/usr/lib/$(package)/*.so.5 \ 293 $(prefix)/usr/lib/$(package)/plugins/platforms/*.so; \ 294 $(prefix)/usr/lib/$(package)/plugins/platformthemes/*.so; \ 295 $(prefix)/usr/lib/$(package)/plugins/sqldrivers/*.so; \ 296 $(prefix)/usr/lib/$(package)/plugins/styles/*.so; \ 297 $(prefix)/usr/lib/$(package)/plugins/xcbglintegrations/*.so; \ 300 298 echo "[Paths]" > $(prefix)/usr/lib/$(package)/qt.conf; \ 301 299 echo "Plugins = /usr/lib/$(package)/plugins" >> $(prefix)/usr/lib/$(package)/qt.conf; \
Note:
See TracChangeset
for help on using the changeset viewer.