Changeset 347

Show
Ignore:
Timestamp:
07/22/06 07:19:59 (2 years ago)
Author:
tg
Message:

* 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).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/base-files/Makefile

    r337 r347  
    6060        $(CP) ./default/* $(IDIR_BASE) 
    6161        $(SED) 's,$$R,$(REV),g' $(IDIR_BASE)/etc/banner 
    62         test -z '$(BR2_RUNTIME_PACKAGES_URL)' || \ 
     62        test -z $(BR2_RUNTIME_PACKAGES_URL) || \ 
    6363            $(SED) 's,^src freewrt.*$$,src freewrt $(BR2_RUNTIME_PACKAGES_URL),' \ 
    6464            -e '/^src freewrt/s,"\(.*\)",\1,' $(IDIR_BASE)/etc/ipkg.conf 
    6565        $(SED) 's,@TARGET@,$(BOARD)-$(KERNEL),g' $(IDIR_BASE)/etc/ipkg.conf 
    6666        test -z $(BR2_RUNTIME_PASSWORD) || \ 
    67             $(SED) 's,*NP*,$(MD5CRYPT),g' $(IDIR_BASE)/etc/passwd 
     67            $(SED) 's,\*NP\*,$(MD5CRYPT),g' $(IDIR_BASE)/etc/passwd 
    6868        test -z $(BR2_RUNTIME_SSHKEY) || ( \ 
    6969            mkdir -p $(IDIR_BASE)/etc/dropbear; \ 
  • trunk/freewrt/target/Config.in

    r298 r347  
    1313        select BR2_PACKAGE_KMOD_DIAG 
    1414        select BR2_PACKAGE_KMOD_USB 
    15         select BR2_PACKAGE_KMOD_LP 
    1615        select BR2_PACKAGE_NVRAM 
    1716        select BR2_PACKAGE_KMOD_WLCOMPAT