Log of /branches/common-nfo/package/base-files/Makefile
Parent Directory
|
Revision Log
Revision
3265 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 18 12:45:43 2007 UTC
(6 years, 7 months ago)
by
tg
File length: 17285 byte(s)
Diff to
previous 3238
copy trunk/freewrt r3264 into a new branch for making the nfo system
because upgrading the old adk branch would be a hell more work
Revision
3233 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 16 14:05:08 2007 UTC
(6 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 17285 byte(s)
Diff to
previous 3211
first of a series of commits I'd suggest to not test until I did:
remove busybox ash and the other shells (hush, lash, msh); always
use mksh by default, as /bin/sh, /bin/ash symlink, /bin/mksh native,
and default admin login shell unless bash or zsh are selected
mksh is a superset of ash (I didn't find anything busybox ash can
do that mksh can't), and the upcoming mksh R30 will be even smaller
in -DMKSH_SMALL mode (but that one will lack vi editing mode)
ok wbx@
we planned this for 1.2, but it will greatly help the nfo conversion
and users request shells they can actually use if they don't have a
webinterface handy
Revision
3063 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 2 12:06:40 2007 UTC
(6 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 18076 byte(s)
Diff to
previous 3053
• fix cat abuse and double-sed
• change lanbridge config to “inet manual”, requested by wbx@
spaetzle: if changing ANYTHING in fwifupdown, PLEASE make sure that the
auto-generated network configs from the base-files package are in sync.
In _all_ possible combinations.
Revision
3053 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 1 02:05:40 2007 UTC
(6 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 18330 byte(s)
Diff to
previous 2927
• add zsh to /etc/shells, forgotten by wbx@
• remove lash, hush and msh from the choice for /bin/sh – we require
either ash or mksh there for FreeWRT 1.1, other shells are not
compatible enough
• enable the use of zsh as login shell (alongside with ash, hash, msh,
lush, bash, mksh, /bin/sh)
Revision
2878 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 22 13:19:17 2007 UTC
(6 years, 8 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 17997 byte(s)
Diff to
previous 2874
introduce a new shell function switch_reset() in all “preinit.arch”
files that is a no-op except on the Asus WL-500gD, where, accroding
to wbx@, a special procedure is required to reinitialise the switch
because it is so unlike the switch found on any other router
Revision
2653 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 24 10:23:28 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3686 byte(s)
Diff to
previous 2648
• base-files/files/etc/init.d/rcK, base-files/files/etc/init.d/rcS:
do correct shebang processing, like the BSD kernel and mksh: get
first line of script to run if it begins with "#!", strip that and
any leading space/tab off, then get shell name (terminates with
space/tab/end of string) and shell argument quoting according to
unix common proceedings; use /bin/sh as interpreter if none could
be found
• mk/package.mk: ensure all init scripts are 0755 by default
• busybox: flesh out inetd init script, so that all init scripts in
FreeWRT either can be found with -path \*/init.d/\* or -name \*.init
• other packages: add #!/bin/sh shebang line to init scripts¹, bump dashver
¹) change this to /bin/ash if you use ash-specific features that mksh
can also do; never use ash-specific features that mksh cannot do (are
there any?), change to /bin/mksh if you use mksh-specific features
and add a run-time dependency on mksh in that case
Revision
2485 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat May 12 22:36:00 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3625 byte(s)
Diff to
previous 2375
by request of wbx@:
make it possible for users to do
| /etc/init.d/<foo> restart
instead of having to do
| /etc/init.d/S*<foo> restart
by moving the order into a magickal™ comment.
Untested.
Also remove the svn:executable properties, because rcS and rcK will
always call them with /bin/sh, and bump dashvers accordingly.
Revision
2359 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 14 20:24:26 2007 UTC
(6 years, 10 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3466 byte(s)
Diff to
previous 2319
• optimise: don't read out the “svn status” a hundred times when one time
is enough (hint: not everything needs to be a gmake variable) – this is
by me, it annoyed me often enough
• don't use a local call to the svn client programme; this fails to build
if it's not installed – noticed by Pawel Szubartowski, thanks
Revision
2319 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 31 23:25:49 2007 UTC
(6 years, 10 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3492 byte(s)
Diff to
previous 2258
nbd (from OpenWrt) says that the /dev/console node on an Asus WL-500g
yields errors on I/O iff the serial console is not attached. This was
failing our failsafe mode; wbx@ pointed me to the OpenWrt code.
Fix this by trying the console (“dd” command taken from OpenWrt) then
redirecting I/O to a pty (idea was from OpenWrt, implementation fixed
by yours truly tg@) if it fails.
Also redirect telnetd I/O to /dev/null in case its stdio fhs are bad,
too. – XXX this might be wrong since this comes after preinit.arch
tested by thengineer (Jakob)
Revision
2165 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 13 22:52:53 2007 UTC
(6 years, 11 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3409 byte(s)
Diff to
previous 2148
• /etc/preinit.arch is sourced, doesn't need to be executable
or have a shebang line
• also, whitespace cleanup and simplification
• new: /etc/init.d/rcK calls /etc/rc.shutdown¹ and then /etc/init.d/K* scripts
just like /etc/init.d/rc.S runs /etc/init.d/S* scripts and then /etc/rc.local
-> derived from PR#246, thanks for the input, agreed to commit wbx@
• /etc/S* and /etc/K* scripts do not need to be executable any more or
have a shebang line, they're called from /bin/sh now
• new: /etc/init.d/K20hotplug, from PR#246
• new: /etc/init.d/K00wan, from /etc/profile (“reboot” function), ok wbx@
• remove /etc/version – even wbx@ was surprised it still exists
• /etc/S* and /etc/K* scripts, /etc/init.d/rcS and /etc/init.d/rcK
now sanitise $PATH
• clean up /etc/profile
• /sbin/hotplug now calls its scripts from /etc/hotplug.d/ with /bin/sh
instead of sourcing them, thus being more reliable
• simplify /sbin/hotplug
¹) just like /etc/rc.local, /etc/rc.shutdown SHALL NEVER be created by ADK.
It's for the user to play with ONLY.
Revision
2026 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 16 22:35:24 2007 UTC
(7 years ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3256 byte(s)
Diff to
previous 1753
add support for /etc/rc.local: _if_ it's executed, it's run
by /bin/sh after all /etc/init.d/S* scripts have finished;
the /etc/rc.local file should _not_ be executable; it _must_
not be created by FreeWRT, it's intended as a means for the
user to add site-local post-startup configuration
Revision
1686 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 20 21:21:59 2007 UTC
(7 years, 1 month ago)
by
n0-1
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3263 byte(s)
Diff to
previous 845
merged from branches/common-adk 1310:1685
the following packages are not converted yet:
* alsa
* asterisk
* pmacct
* zaptel
* elinks
* libgd
* lua
* mypackage
* openser
* php*
* snort*
* tmsnc
additionally, freeradius doesn't compile.
happy fixing :P
Revision
827 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 3 15:38:58 2006 UTC
(7 years, 4 months ago)
by
wbx
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 4903 byte(s)
Diff to
previous 719
sync with freewrt_1_0 branch. It was a little bit to early to branch,
but now everybody can work again. New smaller stuff can be committed
directly in trunk.
Bigger stuff, like a new architecture or a new board should be
developed via a separate branch. Kernel and compiler updates, too.
Any bugfixes or security updates should go into branch and trunk.
Still send me a patch first and do not commit directly into the branch.
Revision
719 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 25 21:16:56 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 4903 byte(s)
Diff to
previous 696
* add PKG_VERSION to every package in default selection
* add broadcom-scripts package as default for 1.0, it adds
network and switch configuration scripts to base
suggested by markus to separate these from webif package
* move ed to application and disable by default, sorry tg, but
not everybody needs it
* be sure that if broadcom-scripts are installed, new ifup/ifdown
network configuration is not used
Revision
588 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 12 18:11:35 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 4747 byte(s)
Diff to
previous 441
merge wbx-target-cleanup to trunk.
- mk directory for some top level makefiles (build.mk,vars.mk)
- add a separate configfs partition to all models, 128 kb big
- add model and platform specific startup files and kernel configs
- delete target/linux/package, add all addon kernel packages to packages
- simplify target/linux/brcm-2.4/Makefile, abstraction to mk/ comes later
- add target/image directory, place where the different images are created
- default off for all extra packages, be sure that you enable all packages
you need to get a dsl-capable router. snapshots will be created by a specific config which contains all needed stuff (iptables, pppoe, pptp, haserl, webif)
Revision
357 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 22 14:58:57 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3946 byte(s)
Diff to
previous 347
as an instant-measure against bad quality of random numbers on
these devices, add a few bytes of entropy from the build system
on the image
after discussion with wbx@ who taught be that flash writes are
not cheap I refrained from ever automatically updating this file
(e.g. via cronjob and on shutdown), so if you want persistent
entropy, you'd do the following command manually on the box:
# dd if=/dev/urandom of=/etc/.rnd bs=512 count=1
once we have our fuse/nvram thingie, entropy ought to be stored
there, and if a new image is flashed, the old and new entropy
ought to be merged. i'll tend to this when js@ is done.
Revision
347 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 22 05:19:59 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3789 byte(s)
Diff to
previous 337
* base-files:
- BR2_RUNTIME_PACKAGES_URL needed unquoting (my bad for doint
the quotes, markus' for not removing them ;)
- asterisks need to be escaped in regexps, see re_format(7) if
you're on BSD or http://www.mirbsd.org/man7/re_format.htm otherwise
* target/Config.in:
- this small one-liner (first hunk of r278) by wbx was the cause
of all these reboots... looks as if the LP module (what's that,
line printer?) causes them (and my Asus doesn't even have a
parallel port), revert and unbreak the long-unnoticed thingie
Now it builds again (at least my config, I'm too tired to test
another one, even the default config), and I can login again (with
the regexp fix), but
* ssh logins with public key do not work at all
* the root and admin password are displayed in plain text in the build log
* I cannot choose my default shell for the admin user to be /bin/mksh even
if I enabled mksh
* the default root shell is /bin/ash should be /bin/sh instead IMHO (just
in case someone fucks up with the user shell)
At least we got a buildable and runnable system again,
and I learned how much suckage is hidden here... and we
all know we'd better test before commit and develop major
stuff in a branch (note to self and all others: read up
on branching and especially merging in the svn book or
better switch to CVS).
Revision
303 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 20 23:56:32 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/base-files/Makefile
File length: 3468 byte(s)
Diff to
previous 299
* whitespace cleanup, while here
* move WRKDIR and DISTFILES definition into PKG_template
* define WRKDIR via parent BUILD_DIR instead of going up from WRKSRC
* use a sub-directory as WRKDIR, like BSD
* rename PKG_BUILD_DIR into WRKBUILD
* define WRKBUILD relative via WRKDIR
* rename PKG_INSTALL_DIR into WRKINST
* fix a few dependencies
* make use of common cases in the definition of WRKBUILD and
WRKINST, removing many redundant lines
* use WRKDIR instead of BUILD_DIR in places where the latter
was used previously
* while here, remove PKG_CAT stuff
this only affects packages, for now
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.