Changeset e1fc855 for LFS/master.sh


Ignore:
Timestamp:
05/13/2012 09:18:19 AM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
083e2fd
Parents:
9096853
Message:

Adapted master.sh so that the Makefile contains instructions
to create /etc/lsb-release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r9096853 re1fc855  
    441441all:    ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL mk_CUSTOM_TOOLS
    442442        @sudo make do_housekeeping
    443         @echo "$VERSION - jhalfs build" > lfs-release && \\
     443        @echo $VERSION > lfs-release && \\
    444444        sudo mv lfs-release \$(MOUNT_PT)/etc && \\
    445445        sudo chown root:root \$(MOUNT_PT)/etc/lfs-release
     446        @/bin/echo -e -n \\
     447        DISTRIB_ID=\\"Linux From Scratch\\"\\\\n\\
     448        DISTRIB_RELEASE=\\"$VERSION\\"\\\\n\\
     449        DISTRIB_CODENAME=\\"$(whoami)-jhalfs\\"\\\\n\\
     450        DISTRIB_DESCRIPTION=\\"Linux From Scratch\\"\\\\n\\
     451        > lsb-release && \\
     452        sudo mv lsb-release \$(MOUNT_PT)/etc && \\
     453        sudo chown root:root \$(MOUNT_PT)/etc/lsb-release
    446454        @\$(call echo_finished,$VERSION)
    447455
Note: See TracChangeset for help on using the changeset viewer.