Changeset 7101


Ignore:
Timestamp:
Mar 22, 2018, 2:33:29 PM (18 months ago)
Author:
hectorgh
Message:

using n4d one-shot to set flash as configured after installation

Location:
lliurex-ubiquity-addons/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-ubiquity-addons/trunk/fuentes/debian/changelog

    r7088 r7101  
     1lliurex-ubiquity-addons (0.287) xenial; urgency=high
     2
     3  * Using n4d one-shot to set flash as configured in zero-center after
     4    installation
     5
     6 -- Hector Garcia Huerta <hectorgh@gmail.com>  Thu, 22 Mar 2018 14:32:16 +0100
     7
    18lliurex-ubiquity-addons (0.286) xenial; urgency=high
    29
  • lliurex-ubiquity-addons/trunk/fuentes/flash-hooks/99-add-canonical-repository

    r7055 r7101  
    22
    33RC=0
    4 cat /var/lib/ubiquity/langpacks | grep "adobe-flashplugin" 1>/dev/null 2>/dev/null || RC=1
     4cat /var/lib/ubiquity/lliurex-extra-packages | grep "adobe-flashplugin" 1>/dev/null 2>/dev/null || RC=1
    55
    66if [ "$RC" = "0" ]; then
     
    99        echo "deb http://archive.canonical.com/ubuntu xenial partner" >> /target/etc/apt/sources.list.d/canonical.list
    1010
    11         zero-center set-configured lliurex-flash-installer || true
    12 
    13         if [ -e "/var/lib/n4d/variables-dir/ZEROCENTER" ]; then
    14 
    15                 cp /var/lib/n4d/variables-dir/ZEROCENTER /target/var/lib/n4d/variables-dir/ZEROCENTER || true
    16 
    17         fi
     11        echo -e "#!/bin/bash\nzero-center set-configured lliurex-flash-installer" > /target/etc/n4d/one-shot/set-flash-configured
     12        chmod +x /target/etc/n4d/one-shot/set-flash-configured
    1813
    1914fi
    20 
    21 
Note: See TracChangeset for help on using the changeset viewer.