source: pkg/frankie/main/distro-defaults/trunk/hooks/parsix @ 6260

Revision 4807, 1.4 KB checked in by alanbach-guest, 6 years ago (diff)
  • Added RTC modules to hooks/parsix
  • Property svn:executable set to *
Line 
1#!/bin/sh -e
2
3###############################################################################
4# F.U.L.L.S.T.O.R.Y initramfs-tools hook
5#
6# Copyright:    (C) 2007 Kel Modderman <kel@otaku42.de>
7#
8# License:      GPLv2
9#
10# F.U.L.L.S.T.O.R.Y Project Homepage:
11# http://developer.berlios.de/projects/fullstory
12###############################################################################
13
14# initramfs-tools prerequisite handling
15PREREQS=""
16
17prereqs()
18{
19        echo "$PREREQ"
20}
21
22case "$1" in
23        prereqs)
24                prereqs
25                exit 0
26                ;;
27esac
28
29. /usr/share/initramfs-tools/hook-functions
30
31# distro-defaults
32mkdir -p ${DESTDIR}/etc/default
33# enforce live mode
34sed 's/^FLL_DISTRO_MODE.*/FLL_DISTRO_MODE="live"/' \
35        /etc/default/distro > ${DESTDIR}/etc/default/distro
36
37sed 's/^FLL_DISTRO_MODE.*/FLL_DISTRO_MODE="live"/' \
38        /etc/default/distro > ${DESTDIR}/scripts/distro
39
40# filesystem unioning modules
41manual_add_modules unionfs
42manual_add_modules aufs
43
44# squashfs, loop, sqlzma, unlzma
45manual_add_modules squashfs
46manual_add_modules loop
47manual_add_modules sqlzma
48manual_add_modules unlzma
49
50# ms filesystem drivers
51manual_add_modules vfat
52manual_add_modules ntfs
53
54# add fuse too
55manual_add_modules fuse
56
57# needed for vfat and iso9660
58manual_add_modules nls_cp437
59manual_add_modules nls_utf8
60manual_add_modules nls_iso8859-1
61
62# RTC modules
63manual_add_modules rtc_cmos
64manual_add_modules rtc_core
65manual_add_modules rtc_lib
66
67# ensure maximum hardware support
68auto_add_modules
Note: See TracBrowser for help on using the repository browser.