Changeset 6d052bd in freewrt


Ignore:
Timestamp:
Jul 27, 2006, 2:37:52 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
f2e3b63e
Parents:
2314460
Message:

generate /etc/shells dynamically, based upon packages
being built (even if marked 'm')

git-svn-id: svn://www.freewrt.org/trunk/freewrt@441 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/base-files
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • package/base-files/Makefile

    r2314460 r6d052bd  
    44
    55PKG_NAME:=              base-files
    6 PKG_RELEASE:=           9
     6PKG_RELEASE:=           10
    77WRKSRC=                 ${WRKDIR}/base-files
    88
     
    9191            dd if=$$rng of=$(IDIR_BASE)/etc/.rnd bs=512 count=1; \
    9292            chmod 600 $(IDIR_BASE)/etc/.rnd
     93        echo /bin/sh >${IDIR_BASE}/etc/shells
     94ifneq (${BUSYBOX_CONFIG_ASH},)
     95        echo /bin/ash >>${IDIR_BASE}/etc/shells
     96endif
     97ifneq (${BUSYBOX_CONFIG_HUSH},)
     98        echo /bin/hush >>${IDIR_BASE}/etc/shells
     99endif
     100ifneq (${BUSYBOX_CONFIG_LASH},)
     101        echo /bin/lash >>${IDIR_BASE}/etc/shells
     102endif
     103ifneq (${BUSYBOX_CONFIG_MSH},)
     104        echo /bin/msh >>${IDIR_BASE}/etc/shells
     105endif
     106ifneq (${FWRT_PACKAGE_MKSH},)
     107        echo /bin/mksh >>${IDIR_BASE}/etc/shells
     108endif
     109ifneq (${FWRT_PACKAGE_MKSH_AS_BINASH},)
     110        echo /bin/ash >>${IDIR_BASE}/etc/shells
     111endif
    93112        mkdir -p $(IDIR_BASE)/dev
    94113        mkdir -p $(IDIR_BASE)/etc/crontabs
Note: See TracChangeset for help on using the changeset viewer.