Skip to content
Snippets Groups Projects
  • Karel Koci's avatar
    af850f24
    lists: move storage plugin to base install · af850f24
    Karel Koci authored
    Storage plugin would be now part of three lists. I don't see a reason
    why we should not move it to base install instead of installing it on
    top of base system. It would be better to have it optional and to have
    some dependencies but I think that as it is now it is confusing to user
    that storage plugin disappears or appears out of kind of nowhere.
    Verified
    af850f24
    History
    lists: move storage plugin to base install
    Karel Koci authored
    Storage plugin would be now part of three lists. I don't see a reason
    why we should not move it to base install instead of installing it on
    top of base system. It would be better to have it optional and to have
    some dependencies but I think that as it is now it is confusing to user
    that storage plugin disappears or appears out of kind of nowhere.
nas.lua.m4 2.03 KiB
include(utils.m4)dnl Include utility macros
_FEATURE_GUARD_

-- Kernel --
Install("kmod-ata-ahci", { priority = 40 })
-- File systems
forInstall(kmod-fs,autofs4,btrfs,cifs,exfat,exportfs,ext4,hfs,hfsplus,msdos,nfs,nfsd,ntfs,vfat,xfs)
-- Native language support
forInstall(kmod-nls,cp1250,cp1251,cp437,cp775,cp850,cp852,cp862,cp864,cp866,cp932,iso8859-1,iso8859-13,iso8859-15,iso8859-2,iso8859-6,iso8859-8,koi8r,utf8)
-- Raid
forInstall(kmod-md,linear,multipath,raid0,raid1,raid10,raid456)
-- Additional kernel drivers
Install("kmod-usb-storage-extras", "kmod-usb-storage-uas", { priority = 40 })
if board == "omnia" then
	Install("blkdiscard", "fstrim", "asm1062-fix", { priority = 40 })
elseif board == "turris1x" then
	Install("kmod-mmc-fsl-p2020", "kmod-fs-reiserfs", "reiserfsprogs", { priority = 40 })
end

-- Tools --
Install("mount-utils", "losetup", "lsblk", "blkid", "file", { priority = 40 })
Install("fdisk", "cfdisk", "hdparm", "resize2fs", "partx-utils", { priority = 40 })
Install("acl", "attr", { priority = 40 })
Install("blockd" , "smartd", "smartmontools", { priority = 40 })
Install("swap-utils", { priority = 40 })

-- File systems
Install("lvm2", "mdadm", "dosfstools", "mkhfs", "btrfs-progs", "davfs2", "e2fsprogs", "fuse-utils", "xfs-mkfs", { priority = 40 })
Install("block-mount", "badblocks", "cifsmount", "hfsfsck", "xfs-fsck", "xfs-growfs", { priority = 40 })
Install("nfs-kernel-server", "nfs-kernel-server-utils", { priority = 40 })
Install("ntfs-3g", "ntfs-3g-utils", { priority = 40 })
Install("sshfs", { priority = 40 })

-- Network
Install("wget", "rsync", "rsyncd", "samba36-client", "samba36-server", { priority = 40 })

-- Luci
forInstall(luci-app,hd-idle,minidlna,samba)
Install("luci-mod-admin-full", { priority = 40 })

_LUCI_I18N_(hd-idle, minidlna, samba)

-- Encryption --
Install("cryptsetup-openssl", "kmod-cryptodev", "kmod-crypto-user", { priority = 40 })
forInstall(kmod-crypto,cbc,ctr,pcbc,des,ecb,xts)
forInstall(kmod-crypto,cmac,crc32c,sha1,sha256,sha512,md4,md5,hmac)
forInstall(kmod-crypto,seqiv,ccm,deflate)

_END_FEATURE_GUARD_