blob: 83bf122c792f1ce51c5c3952a162c4d5f8827ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# -*-makefile-*-
### --- internal ---
PTX_FIXPERM_RUN := $(STATEDIR)/fix-$(PTXDIST_PACKAGES_COLLECTION)-permissions.run
ifeq ($(PTXCONF_FIX_PERMISSIONS)-$(PTXDIST_QUIET),y-)
world: $(PTX_FIXPERM_RUN)
endif
$(PTX_FIXPERM_RUN): $(PTX_PERMISSIONS) $(STATEDIR)/world.targetinstall
@$(call targetinfo)
@echo; \
echo; \
echo; \
echo; \
echo; \
echo; \
echo "creating devnodes, for the smooth nfsroot feeling" >&2; \
echo; \
echo; \
echo; \
echo; \
echo; \
echo; \
read -t 5 -p "(press enter to let sudo to that job)"; \
if test $$? -eq 0; then \
for dir in "$(ROOTDIR)" "$(ROOTDIR_DEBUG)"; do \
sudo $(SCRIPTSDIR)/fix-permissions.sh -r "$${dir}" -p "$<"; \
$(CHECK_PIPE_STATUS) \
done; \
$(call touch); \
else \
echo; \
echo "watch out for missing initial consoles..."; \
echo; \
fi
# vim: syntax=make
|