| File: special/bbc-provided/Makefile | |
|---|---|
| base-0 | patch-1 |
| Line 60 | Line 60 |
| DEPENDS = boot/minit crypto/gnupg # kernel/linux | DEPENDS = boot/minit crypto/gnupg # kernel/linux |
| # These are depped here in order to fullfill the runlevel policy DEPENDS += system/lnx.img-scripts system/root.bin-scripts DEPENDS += fs/devfsd kernel/discover system/hotplug DEPENDS += special/mount.local special/swap | |
| # CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = $(WORKSRC)/Makefile setuid.init reboot.init halt.init hostname.init net.lo.init mount.devpts.init umount.all.init | # CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = $(WORKSRC)/Makefile setuid.init reboot.init halt.init hostname.init net.lo.init mount.devpts.init umount.all.init |
| Line 95 | Line 90 |
| mv $(WORKDIR)/*.sh $(WORKSRC)/ || true $(MAKECOOKIE) | mv $(WORKDIR)/*.sh $(WORKSRC)/ || true $(MAKECOOKIE) |
| post-install: bbc-runlevel-policy | post-install: |
| mkdir -p $(DESTDIR)/share/doc install ../../CREDITS $(DESTDIR)/share/doc/README.credits $(MAKECOOKIE) | mkdir -p $(DESTDIR)/share/doc install ../../CREDITS $(DESTDIR)/share/doc/README.credits $(MAKECOOKIE) |
| Line 104 | Line 99 |
| # in order to force the order of things -Nate user-root: user-$(WORKDIR)/root cp $(WORKSRC)/.bashrc $(WORKDIR)/root/ | # in order to force the order of things -Nate user-root: user-$(WORKDIR)/root cp $(WORKSRC)/.bashrc $(WORKDIR)/root/ |
| INIT_LINK = ln -sf ../init.d/$(3) $(DESTDIR)$(sysconfdir)/rc$(1).d/$(2)$(3) # The runlevels and their contents on an LNX-BBC are defined here. # Packages should not create these links themselves. bbc-runlevel-policy: install -d $(DESTDIR)$(sysconfdir)/rcsysinit.d install -d $(DESTDIR)$(sysconfdir)/rcsingle.d install -d $(DESTDIR)$(sysconfdir)/rcdefault.d install -d $(DESTDIR)$(sysconfdir)/rcrescue.d install -d $(DESTDIR)$(sysconfdir)/rcworkstation.d install -d $(DESTDIR)$(sysconfdir)/rccustom.d install -d $(DESTDIR)$(sysconfdir)/rchalt.d install -d $(DESTDIR)$(sysconfdir)/rcreboot.d $(call INIT_LINK,sysinit,D,halt) $(call INIT_LINK,sysinit,D,reboot) $(call INIT_LINK,sysinit,D,umount.all) $(call INIT_LINK,sysinit,S,devfsd) $(call INIT_LINK,sysinit,S,mount.devpts) $(call INIT_LINK,sysinit,S,discover) $(call INIT_LINK,sysinit,S,hostname) $(call INIT_LINK,sysinit,S,hotplug) $(call INIT_LINK,sysinit,K,mount.initrd) $(call INIT_LINK,sysinit,S,mount.lnx.img) $(call INIT_LINK,sysinit,S,setuid) $(call INIT_LINK,sysinit,S,users) $(call INIT_LINK,default,D,swap) $(call INIT_LINK,default,S,mount.local) $(call INIT_LINK,default,S,net.lo) $(call INIT_LINK,rescue,S,mount.local) $(call INIT_LINK,halt,E,umount.all) $(call INIT_LINK,halt,S,halt) $(call INIT_LINK,reboot,E,umount.all) $(call INIT_LINK,reboot,S,reboot) | |